C# Class ProviderHostedAppPartsWeb.MultipleSymmetricKeySecurityToken

Represents a security token which contains multiple security keys that are generated using symmetric algorithms.
Inheritance: System.IdentityModel.Tokens.SecurityToken
Afficher le fichier Open project: CriticalPathTraining/SharePointAddinDemos

Méthodes publiques

Méthode Description
MatchesKeyIdentifierClause ( System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause ) : bool

Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier.

MultipleSymmetricKeySecurityToken ( IEnumerable keys ) : System

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.

MultipleSymmetricKeySecurityToken ( string tokenId, IEnumerable keys ) : System

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.

Private Methods

Méthode Description
CreateSymmetricSecurityKeys ( IEnumerable keys ) : List

Method Details

MatchesKeyIdentifierClause() public méthode

Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier.
public MatchesKeyIdentifierClause ( System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause ) : bool
keyIdentifierClause System.IdentityModel.Tokens.SecurityKeyIdentifierClause A SecurityKeyIdentifierClause to compare to this instance
Résultat bool

MultipleSymmetricKeySecurityToken() public méthode

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.
public MultipleSymmetricKeySecurityToken ( IEnumerable keys ) : System
keys IEnumerable An enumeration of Byte arrays that contain the symmetric keys.
Résultat System

MultipleSymmetricKeySecurityToken() public méthode

Initializes a new instance of the MultipleSymmetricKeySecurityToken class.
public MultipleSymmetricKeySecurityToken ( string tokenId, IEnumerable keys ) : System
tokenId string The unique identifier of the security token.
keys IEnumerable An enumeration of Byte arrays that contain the symmetric keys.
Résultat System