Language

IDisableCookieRedirectMetadata Interface

Definition

Metadata that indicates the endpoint should disable cookie-based authentication redirects typically because it is intended for API clients rather than direct browser navigation.

IAllowCookieRedirectMetadata overrides this no matter the order.

When present and not overridden, the cookie authentication handler will prefer using 401 and 403 status codes over redirecting to the login or access denied paths.

public interface IDisableCookieRedirectMetadata
type IDisableCookieRedirectMetadata = interface
Public Interface IDisableCookieRedirectMetadata
Derived

Applies to