Table of Contents

Class RemoteSecretSettingsOptions

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

Describes a remote secret: an encrypted credential that a caller sends in a header and that the server decrypts and exchanges for a token. Each entry of the Authentication:RemoteSecrets section is bound to this class.

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

ClientSecret

Gets or sets the secret (the encrypted user:password pair). Required.

public string ClientSecret { get; set; }

Property Value

string

HeaderKey

Gets or sets the name of the header that carries the secret. The default is SecretKey.

public string HeaderKey { get; set; }

Property Value

string

ProviderId

Gets or sets the key of the token provider handling the secret. The default is ProviderName.

public string ProviderId { get; set; }

Property Value

string