C# Class AuthBridge.Protocols.Saml.SamlHandler

Inheritance: ProtocolHandlerBase
Datei anzeigen Open project: Teleopti/authbridge

Public Methods

Method Description
ProcessSignInRequest ( Scope scope, System.Web.HttpContextBase httpContext ) : void
ProcessSignInResponse ( string realm, string originalUrl, System.Web.HttpContextBase httpContext ) : ClaimsIdentity
SamlHandler ( ClaimProvider issuer ) : System

Private Methods

Method Description
ExtractInformation ( XmlDocument doc ) : SamlDetail
GetReturnUrlQueryParameterFromUrl ( string context ) : string
ThrowAndLog ( string message ) : void
VerifyAllowedDateTimeRange ( SamlDetail detail ) : bool
VerifyAudience ( SamlDetail information ) : bool
VerifySignatures ( XmlDocument xmlDoc ) : bool
VerifyStatus ( XmlDocument doc ) : bool

Method Details

ProcessSignInRequest() public method

public ProcessSignInRequest ( Scope scope, System.Web.HttpContextBase httpContext ) : void
scope AuthBridge.Model.Scope
httpContext System.Web.HttpContextBase
return void

ProcessSignInResponse() public method

public ProcessSignInResponse ( string realm, string originalUrl, System.Web.HttpContextBase httpContext ) : ClaimsIdentity
realm string
originalUrl string
httpContext System.Web.HttpContextBase
return System.Security.Claims.ClaimsIdentity

SamlHandler() public method

public SamlHandler ( ClaimProvider issuer ) : System
issuer AuthBridge.Model.ClaimProvider
return System