Class AuthenticationOptions
Base options for all authentication middleware.
Inheritance
System.Object
AuthenticationOptions
Namespace: Cuemon.AspNetCore.Authentication
Assembly: Cuemon.AspNetCore.Authentication.dll
Syntax
public abstract class AuthenticationOptions
Constructors
| Improve this DocAuthenticationOptions()
Initializes a new instance of the AuthenticationOptions class.
Declaration
protected AuthenticationOptions()
Properties
| Improve this DocHttpNotAuthorizedBody
Gets or sets the function delegate for retrieving content for the body of an unauthorized request.
Declaration
public Func<byte[]> HttpNotAuthorizedBody { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Byte[]> | A System.Func<TResult> for retrieving content for the body of an unauthorized request. |
RequireSecureConnection
Gets or sets a value indicating whether a HTTP connection is required to use secure sockets (that is, HTTPS).
Declaration
public bool RequireSecureConnection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|