Table of Contents

Class BasicSettingsOptions

Namespace
Arc4u.OAuth2
Assembly
Arc4u.OAuth2.AspNetCore.dll

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

string

Authority

Gets or sets the authority to call. When null, the default authority is used.

public AuthorityOptions? Authority { get; set; }

Property Value

AuthorityOptions

ClientId

Gets or sets the client id registered in the authority. Required.

public string ClientId { get; set; }

Property Value

string

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

string

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

string

Scopes

Gets or sets the requested scopes. At least one is required.

public List<string> Scopes { get; set; }

Property Value

List<string>