Class BasicSettingsOptions
The settings used by the Basic authentication to request a token from an authority for the credentials received in a request.
Bound from the Authentication:Basic:Settings section by default.
public class BasicSettingsOptions
- Inheritance
-
BasicSettingsOptions
- Inherited Members
Properties
AuthenticationType
Gets or sets the authentication type of the resulting identity. The default is InjectAuthenticationType.
public string AuthenticationType { get; set; }
Property Value
Authority
Gets or sets the authority to call. When null, the default authority is used.
public AuthorityOptions? Authority { get; set; }
Property Value
ClientId
Gets or sets the client id registered in the authority. Required.
public string ClientId { get; set; }
Property Value
ClientSecret
Gets or sets the optional client secret. Some authorities require it in combination with the user name and password.
public string? ClientSecret { get; set; }
Property Value
ProviderId
Gets or sets the key of the token provider that requests the token. The default is Credential.
public string ProviderId { get; set; }
Property Value
Scopes
Gets or sets the requested scopes. At least one is required.
public List<string> Scopes { get; set; }