Class BasicAuthenticationOptions
Configuration options for BasicAuthenticationMiddleware. This class cannot be inherited.
Inherited Members
Namespace: Cuemon.AspNetCore.Authentication
Assembly: Cuemon.AspNetCore.Authentication.dll
Syntax
public sealed class BasicAuthenticationOptions : AuthenticationOptions
Constructors
| Improve this DocBasicAuthenticationOptions()
Initializes a new instance of the BasicAuthenticationOptions class.
Declaration
public BasicAuthenticationOptions()
Properties
| Improve this DocAuthenticator
Gets or sets the function delegate that will perform the authentication from the specified username
and password
.
Declaration
public BasicAuthenticator Authenticator { get; set; }
Property Value
Type | Description |
---|---|
BasicAuthenticator | The function delegate that will perform the authentication. |
Realm
Gets the realm that defines the protection space.
Declaration
public string Realm { get; set; }
Property Value
Type | Description |
---|---|
System.String | The realm that defines the protection space. |