Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

State changes #315

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,38 @@ namespace Microsoft.AspNet.Authentication.OpenIdConnect
public static class OpenIdConnectAuthenticationDefaults
{
/// <summary>
/// The default value used for OpenIdConnectAuthenticationOptions.AuthenticationScheme
/// Constant used to identify state in openIdConnect protocol message.
/// </summary>
public const string AuthenticationScheme = "OpenIdConnect";
public const string AuthenticationPropertiesKey = "OpenIdConnect.AuthenticationProperties";

/// <summary>
/// The prefix used to provide a default OpenIdConnectAuthenticationOptions.CookieName
/// The default value used for OpenIdConnectAuthenticationOptions.AuthenticationScheme.
/// </summary>
public const string CookiePrefix = ".AspNet.OpenIdConnect.";
public const string AuthenticationScheme = "OpenIdConnect";

/// <summary>
/// The default value for OpenIdConnectAuthenticationOptions.Caption.
/// </summary>
public const string Caption = "OpenIdConnect";

/// <summary>
/// The prefix used to for the a nonce in the cookie
/// The prefix used to provide a default OpenIdConnectAuthenticationOptions.CookieName.
/// </summary>
public const string CookiePrefix = ".AspNet.OpenIdConnect.";

/// <summary>
/// The prefix used to for the a nonce in the cookie.
/// </summary>
public const string CookieNoncePrefix = ".AspNet.OpenIdConnect.Nonce.";

/// <summary>
/// The property for the RedirectUri that was used when asking for a 'authorizationCode'
/// The property for the RedirectUri that was used when asking for a 'authorizationCode'.
/// </summary>
public const string RedirectUriUsedForCodeKey = "OpenIdConnect.Code.RedirectUri";
public const string RedirectUriForCodePropertiesKey = "OpenIdConnect.Code.RedirectUri";

/// <summary>
/// Constant used to identify state in openIdConnect protocal message
/// Constant used to identify userstate inside AuthenticationProperties that have been serialized in the 'state' parameter.
/// </summary>
public const string AuthenticationPropertiesKey = "OpenIdConnect.AuthenticationProperties";
public const string UserstatePropertiesKey = "OpenIdConnect.Userstate";
}
}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading