C# Class Thinktecture.IdentityModel.SecurityTokenService.TracingSecurityTokenService

A SecurityTokenService class with hooks for logging the RST, RSTR and issued token
Inheritance: Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService
Afficher le fichier Open project: IdentityModel/Thinktecture.IdentityModel.v1

Méthodes publiques

Méthode Description
TracingSecurityTokenService ( SecurityTokenServiceConfiguration configuration ) : System.IdentityModel.Tokens

Initializes a new instance of the TracingSecurityTokenService class.

Méthodes protégées

Méthode Description
GetResponse ( RequestSecurityToken request, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor ) : RequestSecurityTokenResponse

Creates the token response and invokes the logging callbacks.

OnTrace ( System.Xml.Linq.XElement rst, System.Xml.Linq.XElement rstr, System.Xml.Linq.XElement token ) : void

Logging extensibility point.

Private Methods

Méthode Description
SerializeRequest ( RequestSecurityToken request ) : string
SerializeResponse ( RequestSecurityTokenResponse response ) : string

Method Details

GetResponse() protected méthode

Creates the token response and invokes the logging callbacks.
protected GetResponse ( RequestSecurityToken request, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor ) : RequestSecurityTokenResponse
request RequestSecurityToken The request.
tokenDescriptor System.IdentityModel.Tokens.SecurityTokenDescriptor The token descriptor.
Résultat RequestSecurityTokenResponse

OnTrace() protected méthode

Logging extensibility point.
protected OnTrace ( System.Xml.Linq.XElement rst, System.Xml.Linq.XElement rstr, System.Xml.Linq.XElement token ) : void
rst System.Xml.Linq.XElement The RST.
rstr System.Xml.Linq.XElement The RSTR.
token System.Xml.Linq.XElement The token.
Résultat void

TracingSecurityTokenService() public méthode

Initializes a new instance of the TracingSecurityTokenService class.
public TracingSecurityTokenService ( SecurityTokenServiceConfiguration configuration ) : System.IdentityModel.Tokens
configuration SecurityTokenServiceConfiguration The configuration.
Résultat System.IdentityModel.Tokens