Méthode SecurityTokenHandler.CreateSecurityTokenReference
Create the security token reference for tokens handled by this instance.
Espace de noms: Microsoft.IdentityModel.Tokens
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As SecurityTokenHandler Dim token As SecurityToken Dim attached As Boolean Dim returnValue As SecurityKeyIdentifierClause returnValue = instance.CreateSecurityTokenReference(token, attached)
Syntaxe
'Déclaration
Public Overridable Function CreateSecurityTokenReference ( _
token As SecurityToken, _
attached As Boolean _
) As SecurityKeyIdentifierClause
public virtual SecurityKeyIdentifierClause CreateSecurityTokenReference (
SecurityToken token,
bool attached
)
public:
virtual SecurityKeyIdentifierClause^ CreateSecurityTokenReference (
SecurityToken^ token,
bool attached
)
public SecurityKeyIdentifierClause CreateSecurityTokenReference (
SecurityToken token,
boolean attached
)
public function CreateSecurityTokenReference (
token : SecurityToken,
attached : boolean
) : SecurityKeyIdentifierClause
Paramètres
- token
The SecurityToken instance for which the references needs to be created.
- attached
Boolean that indicates if a attached or unattached reference needs to be created.
Valeur de retour
SecurityKeyIdentifierClause
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
Plateformes
Plateformes de développement
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Voir aussi
Référence
Classe SecurityTokenHandler
Membres SecurityTokenHandler
Espace de noms Microsoft.IdentityModel.Tokens