Table of Contents

Class BasicAuthenticationConfigurationOptions

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

The code based configuration of the Basic authentication middleware, given to AddBasicAuthenticationSettings(IServiceCollection, Action<BasicAuthenticationConfigurationOptions>).

public class BasicAuthenticationConfigurationOptions
Inheritance
BasicAuthenticationConfigurationOptions
Inherited Members

Properties

BasicOptions

Gets or sets the action that configures the BasicSettingsOptions used to request a token for the credentials received.

public Action<BasicSettingsOptions> BasicOptions { get; set; }

Property Value

Action<BasicSettingsOptions>

CertificateHeaderOptions

Gets or sets the action that fills the certificates used to decrypt the credentials sent in a request header or query string parameter. The key of each entry is the name of the header (or query string parameter) that carries the encrypted user:password pair.

public Action<Dictionary<string, X509Certificate2>> CertificateHeaderOptions { get; set; }

Property Value

Action<Dictionary<string, X509Certificate2>>

DefaultUpn

Gets or sets the domain suffix appended to a user name that has no domain. It must start with @ and contain a valid host name, for example @contoso.com. The value is optional.

public string DefaultUpn { get; set; }

Property Value

string