// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
{
///
/// Default values related to OpenIdConnect authentication handler
///
public static class OpenIdConnectDefaults
{
///
/// Constant used to identify state in openIdConnect protocol message.
///
public static readonly string AuthenticationPropertiesKey = "OpenIdConnect.AuthenticationProperties";
///
/// The default value used for OpenIdConnectOptions.AuthenticationScheme.
///
public const string AuthenticationScheme = "OpenIdConnect";
///
/// The default value for the display name.
///
public static readonly string DisplayName = "OpenIdConnect";
///
/// The prefix used to for the nonce in the cookie.
///
public static readonly string CookieNoncePrefix = ".AspNetCore.OpenIdConnect.Nonce.";
///
/// The property for the RedirectUri that was used when asking for a 'authorizationCode'.
///
public static readonly string RedirectUriForCodePropertiesKey = "OpenIdConnect.Code.RedirectUri";
///
/// Constant used to identify userstate inside AuthenticationProperties that have been serialized in the 'state' parameter.
///
public static readonly string UserstatePropertiesKey = "OpenIdConnect.Userstate";
}
}