Method | Description | |
---|---|---|
CanReadToken ( XmlReader reader ) : bool |
Determines whether this instance can read a AccessSecurityToken.
|
|
CreateToken ( System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor ) : System.IdentityModel.Tokens.SecurityToken |
Creates the token.
|
|
GetTokenTypeIdentifiers ( ) : string[] |
Gets the token type identifiers.
|
|
ReadToken ( XmlReader reader ) : System.IdentityModel.Tokens.SecurityToken |
Reads the token.
|
|
ValidateToken ( System.IdentityModel.Tokens.SecurityToken token ) : ClaimsIdentityCollection |
Validates the token.
|
|
WriteToken ( |
Writes the token.
|
Method | Description | |
---|---|---|
CreateClaims ( |
Creates the claims.
|
|
GetIssuerThumbprint ( System.Security.Cryptography.Xml.SignedXml signedXml ) : string |
Gets the issuer thumbprint.
|
|
ReadTokenValues ( System.Xml.Linq.XElement xml, |
Reads the token values.
|
|
SignToken ( System.Xml.Linq.XElement tokenXml, |
Signs the token.
|
|
VerifySignature ( System.Xml.Linq.XElement xml ) : |
Verifies the signature.
|
Method | Description | |
---|---|---|
CheckExpiration ( |
Checks the expiration.
|
|
ValidateIssuer ( |
public CanReadToken ( XmlReader reader ) : bool | ||
reader | XmlReader | The reader. |
return | bool |
protected CreateClaims ( |
||
token | The token. | |
issuer | string | The issuer. |
return | ClaimsIdentityCollection |
public CreateToken ( System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor ) : System.IdentityModel.Tokens.SecurityToken | ||
tokenDescriptor | System.IdentityModel.Tokens.SecurityTokenDescriptor | The token descriptor. |
return | System.IdentityModel.Tokens.SecurityToken |
protected GetIssuerThumbprint ( System.Security.Cryptography.Xml.SignedXml signedXml ) : string | ||
signedXml | System.Security.Cryptography.Xml.SignedXml | The signed XML. |
return | string |
public GetTokenTypeIdentifiers ( ) : string[] | ||
return | string[] |
public ReadToken ( XmlReader reader ) : System.IdentityModel.Tokens.SecurityToken | ||
reader | XmlReader | The XML reader. |
return | System.IdentityModel.Tokens.SecurityToken |
protected ReadTokenValues ( System.Xml.Linq.XElement xml, |
||
xml | System.Xml.Linq.XElement | The XML. |
issuerCertificate | The issuer certificate. | |
return |
protected SignToken ( System.Xml.Linq.XElement tokenXml, |
||
tokenXml | System.Xml.Linq.XElement | The token XML. |
signer | The signer. | |
return | System.Xml.Linq.XElement |
public ValidateToken ( System.IdentityModel.Tokens.SecurityToken token ) : ClaimsIdentityCollection | ||
token | System.IdentityModel.Tokens.SecurityToken | The token. |
return | ClaimsIdentityCollection |
protected VerifySignature ( System.Xml.Linq.XElement xml ) : |
||
xml | System.Xml.Linq.XElement | The XML. |
return |
public WriteToken ( |
||
writer | The writer. | |
token | System.IdentityModel.Tokens.SecurityToken | The token. |
return | void |