C# Class Symplified.Auth.Saml20Authenticator

SAML 2.0 Authenticator.
Inheritance: WebRedirectAuthenticator
Show file Open project: symplified/Symplified.Auth Class Usage Examples

Public Methods

Method Description
OnPageLoading ( Uri url, string>.IDictionary formParams ) : void

Event handler called when a new page is being loaded in the web browser.

Saml20Authenticator ( string spName, dk.nita.saml20.Saml20MetadataDocument idpMetadata ) : System

Initializes a new instance of the Symplified.Auth.Saml20Authenticator class.

Protected Methods

Method Description
OnRedirectPageLoaded ( Uri url, string>.System query, string>.System fragment, string>.IDictionary formParams ) : void

Raised when the SAML 2.0 response parameter has been detected.

Method Details

OnPageLoading() public method

Event handler called when a new page is being loaded in the web browser.
public OnPageLoading ( Uri url, string>.IDictionary formParams ) : void
url System.Uri The URL of the page.
formParams string>.IDictionary Form parameters.
return void

OnRedirectPageLoaded() protected method

Raised when the SAML 2.0 response parameter has been detected.
protected OnRedirectPageLoaded ( Uri url, string>.System query, string>.System fragment, string>.IDictionary formParams ) : void
url System.Uri URL of the page.
query string>.System The parsed query of the URL.
fragment string>.System The parsed fragment of the URL.
formParams string>.IDictionary Form parameters, including the 'SAMLResponse'.
return void

Saml20Authenticator() public method

Initializes a new instance of the Symplified.Auth.Saml20Authenticator class.
public Saml20Authenticator ( string spName, dk.nita.saml20.Saml20MetadataDocument idpMetadata ) : System
spName string Service Provider name.
idpMetadata dk.nita.saml20.Saml20MetadataDocument Identity Provider metadata.
return System