Class AuthenticationOptions
- Namespace
- OneImlx.Terminal.Configuration.Options
- Assembly
- OneImlx.Terminal.dll
The authentication configuration options.
public sealed class AuthenticationOptions
- Inheritance
-
AuthenticationOptions
- Inherited Members
Properties
AuthorizeOnRoute
Attempts to authorize the request during command routing.
public bool? AuthorizeOnRoute { get; set; }
Property Value
- bool?
DefaultScopes
Gets or sets the default authentication scopes.
public string[]? DefaultScopes { get; set; }
Property Value
- string[]
Remarks
These scopes are used by default if no specific scopes are provided during the authentication request.
Enabled
Enables the authentication for the terminal.
public bool? Enabled { get; set; }
Property Value
- bool?
HttpClientName
Gets or sets the name for the named HttpClient.
public string? HttpClientName { get; set; }
Property Value
UserFlow
Gets or sets the authentication user flow.
public string? UserFlow { get; set; }
Property Value
ValidHosts
Gets or sets the valid hosts for generating the authorization token.
public string[]? ValidHosts { get; set; }
Property Value
- string[]
Remarks
Requests to hosts not listed here will be considered unauthorized.