C# Class Thinktecture.IdentityModel.SecurityTokenService.SimpleRestfulTokenServiceBase

Base class for a simple security token service
Inheritance: ISimpleRestfulTokenServiceContract
Afficher le fichier Open project: IdentityModel/Thinktecture.IdentityModel.v1

Méthodes publiques

Méthode Description
Issue ( string realm ) : System.Xml.Linq.XElement

Issues a token for the specified realm.

Méthodes protégées

Méthode Description
GetEncryptingCredentials ( string realm ) : System.IdentityModel.Tokens.EncryptingCredentials

Retrieves the encrypting credentials.

GetIssuerName ( ) : Uri

Retrieves the name of the token issuer.

GetLifetime ( string realm, string userName ) : Lifetime

Gets the lifetime.

GetOutputClaimsIdentity ( string realm, string username ) : IClaimsIdentity

Creates the output claims identity.

GetSigningCredentials ( ) : System.IdentityModel.Tokens.SigningCredentials

Retrieves the signing credentials.

Method Details

GetEncryptingCredentials() protected abstract méthode

Retrieves the encrypting credentials.
protected abstract GetEncryptingCredentials ( string realm ) : System.IdentityModel.Tokens.EncryptingCredentials
realm string The realm.
Résultat System.IdentityModel.Tokens.EncryptingCredentials

GetIssuerName() protected abstract méthode

Retrieves the name of the token issuer.
protected abstract GetIssuerName ( ) : Uri
Résultat System.Uri

GetLifetime() protected méthode

Gets the lifetime.
protected GetLifetime ( string realm, string userName ) : Lifetime
realm string The realm.
userName string The username.
Résultat Lifetime

GetOutputClaimsIdentity() protected abstract méthode

Creates the output claims identity.
protected abstract GetOutputClaimsIdentity ( string realm, string username ) : IClaimsIdentity
realm string The realm.
username string The username.
Résultat IClaimsIdentity

GetSigningCredentials() protected abstract méthode

Retrieves the signing credentials.
protected abstract GetSigningCredentials ( ) : System.IdentityModel.Tokens.SigningCredentials
Résultat System.IdentityModel.Tokens.SigningCredentials

Issue() public méthode

Issues a token for the specified realm.
public Issue ( string realm ) : System.Xml.Linq.XElement
realm string The realm name.
Résultat System.Xml.Linq.XElement