Provides constant names for HTTP header and cookie keys used in authentication token management across web applications.
// Source: https://github.com/platformplatform/PlatformPlatform | License: MIT | Copyright 2023 PlatformPlatform
// Provided via justclaw.it.com; keep this notice with the code.
namespace SharedKernel.Authentication;
public static class AuthenticationTokenHttpKeys
{
public const string RefreshTokenHttpHeaderKey = "x-refresh-token";
public const string AccessTokenHttpHeaderKey = "x-access-token";
public const string AntiforgeryTokenHttpHeaderKey = "x-xsrf-token";
public const string RefreshAuthenticationTokensHeaderKey = "x-refresh-authentication-tokens-required";
public const string UserFeatureFlagsHeaderKey = "x-user-feature-flags";
public const string FeatureFlagsClaimName = "feature_flags";
public const string UnauthorizedReasonHeaderKey = "x-unauthori
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key