AuthenticationOptions Class
Definition
- Namespace
- Cuemon.AspNetCore.Authentication
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
Base options for all authentication middleware.
public abstract class AuthenticationOptions : AuthenticationSchemeOptions, IValidatableParameterObject, IParameterObject
- Inheritance
-
AuthenticationOptions
- Implements
- Derived
- Inherited Members
Constructors
| Name | Description |
|---|---|
| AuthenticationOptions() | Initializes a new instance of the AuthenticationOptions class. |
Properties
| Name | Description |
|---|---|
| RequireSecureConnection | Gets or sets a value indicating whether a HTTP connection is required to use secure sockets (that is, HTTPS). |
| ResponseHandler | Gets or sets the function delegate that configures the unauthorized response in the form of a HttpResponseMessage. |
| UnauthorizedMessage | Gets or sets the message of an unauthorized request. |
Methods
| Name | Description |
|---|---|
| ValidateOptions() | Determines whether the public read-write properties of this instance are in a valid state. |