Table of Contents

Class OnBehalfOfSettingsOptions

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

The settings of an on-behalf-of token request. The entries of the Authentication:OnBehalfOf section are bound to this class; each one is registered as a SimpleKeyValueSettings named as the entry.

public class OnBehalfOfSettingsOptions
Inheritance
OnBehalfOfSettingsOptions
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

ClientId

Gets or sets the client id of the application. Required.

public string ClientId { get; set; }

Property Value

string

ClientSecret

Gets or sets the client secret of the application. Required.

public string ClientSecret { get; set; }

Property Value

string

ProviderId

Gets or sets the key of the token provider that performs the request. The default is ProviderName (Obo).

public string ProviderId { get; set; }

Property Value

string

Scopes

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

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

Property Value

List<string>