Table of Contents

Class SamlAuthenticationOptions

Namespace
ComponentSpace.Saml2.Authentication
Assembly
ComponentSpace.Saml2.dll

The SAML v2.0 SSO authentication options.

public class SamlAuthenticationOptions : AuthenticationSchemeOptions
Inheritance
SamlAuthenticationOptions
Inherited Members

Properties

ArtifactResolutionServicePath

Gets or sets the artifact resolution service URL path.

The default value is /SAML/ArtifactResolutionService.

public string ArtifactResolutionServicePath { get; set; }

Property Value

string

The artifact resolution service URL suffix.

AssertionConsumerServicePath

Gets or sets the assertion consumer service URL path.

The default value is /SAML/AssertionConsumerService.

public string AssertionConsumerServicePath { get; set; }

Property Value

string

The assertion consumer service URL path.

ConfigurationName

Gets or sets the optional delegate called to return the SAML configuration name.

public Func<HttpContext, string> ConfigurationName { get; set; }

Property Value

Func<HttpContext, string>

The delegate called to return the SAML configuration name.

ErrorUrl

Gets or sets the optional delegate called to return the URL to redirect to after login or logout fails, if not otherwise specified.

public Func<HttpContext, string> ErrorUrl { get; set; }

Property Value

Func<HttpContext, string>

The delegate called to return the URL to redirect to if login or logout fails, if not otherwise specified.

LoginCompletionUrl

Gets or sets the optional delegate called to return the URL to redirect to after completing login, if not otherwise specified.

public Func<HttpContext, string, string, string> LoginCompletionUrl { get; set; }

Property Value

Func<HttpContext, string, string, string>

The delegate called to return the URL to redirect to after completing login, if not otherwise specified.

LogoutCompletionUrl

Gets or sets the optional delegate called to return the URL to redirect to after completing logout, if not otherwise specified.

public Func<HttpContext, string, string, string> LogoutCompletionUrl { get; set; }

Property Value

Func<HttpContext, string, string, string>

The delegate called to return the URL to redirect to after completing logout, if not otherwise specified.

PartnerName

Gets or sets the optional delegate called to return the partner identity provider name.

public Func<HttpContext, string> PartnerName { get; set; }

Property Value

Func<HttpContext, string>

The delegate called to return the partner identity provider name.

SignInScheme

Gets or sets the authentication scheme responsible for persisting user's identity after successful authentication.

public string SignInScheme { get; set; }

Property Value

string

The authentication scheme responsible for persisting user's identity after successful authentication.

SignOutScheme

Gets or sets the authentication scheme responsible for sign out.

public string SignOutScheme { get; set; }

Property Value

string

The authentication scheme responsible for sign out.

SingleLogoutServicePath

Gets or sets the single logout service URL path.

The default value is /SAML/SingleLogoutService.

public string SingleLogoutServicePath { get; set; }

Property Value

string

The single logout service URL suffix.