IDisableCookieRedirectMetadata Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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