Langue

Saml2SecurityTokenHandler.CreateToken Méthode

Définition

Surcharges

CreateToken(SecurityTokenDescriptor)

Crée un Saml2SecurityToken.

public override Microsoft.IdentityModel.Tokens.SecurityToken CreateToken(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
override this.CreateToken : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.SecurityToken
Public Overrides Function CreateToken (tokenDescriptor As SecurityTokenDescriptor) As SecurityToken

Paramètres

tokenDescriptor
SecurityTokenDescriptor

Qui contient des SecurityTokenDescriptor informations de création.

Retours

Une instance SecurityToken .

Exceptions

Si tokenDescriptor la valeur est Null.

S’applique à

CreateToken(SecurityTokenDescriptor, AuthenticationInformation)

Crée un Saml2SecurityToken.

public virtual Microsoft.IdentityModel.Tokens.SecurityToken CreateToken(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor, Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation authenticationInformation);
override this.CreateToken : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> Microsoft.IdentityModel.Tokens.SecurityToken
Public Overridable Function CreateToken (tokenDescriptor As SecurityTokenDescriptor, authenticationInformation As AuthenticationInformation) As SecurityToken

Paramètres

tokenDescriptor
SecurityTokenDescriptor

Qui contient des SecurityTokenDescriptor informations de création.

authenticationInformation
AuthenticationInformation

informations supplémentaires pour la création d’un Saml2AuthenticationStatement.

Retours

Une instance SecurityToken .

Exceptions

Si tokenDescriptor la valeur est Null.

S’applique à