CookieAuthOptions class
Options for cookie-based authentication.
public class CookieAuthOptions : CookieAuthenticationOptions, IAuthenticationHostOptions,
IOpenApiAuthenticationOptions
Public Members
| name | description |
|---|---|
| CookieAuthOptions() | The default constructor. |
| AllowInsecureHttp { get; set; } | If true, allows cookie authentication over insecure HTTP connections. |
| Description { get; set; } | |
| DisplayName { get; set; } | |
| DocumentationId { get; set; } | |
| GlobalScheme { get; set; } | |
| Host { get; set; } | |
| Logger { get; set; } | |
| ApplyTo(…) | Helper to copy values from a user-supplied CookieAuthenticationOptions instance to the instance created by the framework inside AddCookie(). Reassigning the local variable (opts = source) would not work because only the local reference changes – the framework keeps the original instance. (2 methods) |
See Also
- interface IAuthenticationHostOptions
- interface IOpenApiAuthenticationOptions
- namespace Kestrun.Authentication
- CookieAuthOptions.cs