Table of Contents

Class OidcClientSettingsOption

Namespace
Arc4u.OAuth2.Client.Authentication.Options
Assembly
Arc4u.OAuth2.Client.Authentication.dll

The settings of the OpenID Connect client. Bound from the Authentication:OidcClient.Settings section by default and registered as the SimpleKeyValueSettings named OidcClient.

public class OidcClientSettingsOption
Inheritance
OidcClientSettingsOption
Inherited Members

Properties

ClientId

Gets or sets the client id registered in the identity provider. Required.

public string ClientId { get; set; }

Property Value

string

ProviderId

Gets or sets the key of the token provider. The default is OidcClientIdentityModel.

public string ProviderId { get; set; }

Property Value

string

Scopes

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

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

Property Value

List<string>