C# Class Microsoft.IdentityModel.Swt.SimpleWebToken

Parses an SWT token. See http://groups.google.com/group/oauth-wrap-wg.
Inheritance: System.IdentityModel.Tokens.SecurityToken
Afficher le fichier Open project: netfx/extensions Class Usage Examples

Méthodes publiques

Méthode Description
SimpleWebToken ( string rawToken ) : System
ToClaimsIdentity ( string nameClaimType = null, string roleClaimType = null ) : ClaimsIdentity

Converts the SimpleWebToken to a ClaimsIdentity

ToString ( ) : string

Private Methods

Méthode Description
Parse ( ) : void

Method Details

SimpleWebToken() public méthode

public SimpleWebToken ( string rawToken ) : System
rawToken string
Résultat System

ToClaimsIdentity() public méthode

Converts the SimpleWebToken to a ClaimsIdentity
public ToClaimsIdentity ( string nameClaimType = null, string roleClaimType = null ) : ClaimsIdentity
nameClaimType string
roleClaimType string
Résultat ClaimsIdentity

ToString() public méthode

public ToString ( ) : string
Résultat string