// 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.Identity { /// /// Represents all the options you can use to configure the cookies middleware used by the identity system. /// public class IdentityConstants { private static readonly string CookiePrefix = "Identity"; /// /// The scheme used to identify application authentication cookies. /// public static readonly string ApplicationScheme = CookiePrefix + ".Application"; /// /// The scheme used to identify external authentication cookies. /// public static readonly string ExternalScheme = CookiePrefix + ".External"; /// /// The scheme used to identify Two Factor authentication cookies for saving the Remember Me state. /// public static readonly string TwoFactorRememberMeScheme = CookiePrefix + ".TwoFactorRememberMe"; /// /// The scheme used to identify Two Factor authentication cookies for round tripping user identities. /// public static readonly string TwoFactorUserIdScheme = CookiePrefix + ".TwoFactorUserId"; } }