Table of Contents

Class ClaimsFillerOptions

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

Inform if extra claims must be loaded during the authentication process.

public class ClaimsFillerOptions
Inheritance
ClaimsFillerOptions
Inherited Members

Properties

ClaimsToExclude

Claim types returned by the IClaimsFiller that are not added to the principal (the claims already in the token, such as aud or iss, are not removed). Empty by default; the configuration based registration uses AddClaimsFillerExtension.DefaultClaimsToExclude when the section has no ClaimsToExclude.

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

Property Value

List<string>

ExpireClaim

Gets or sets the claim type holding the expiration date of the access token. The default is exp. It cannot be excluded with ClaimsToExclude.

public string ExpireClaim { get; set; }

Property Value

string

LoadClaimsFromClaimsFillerProvider

Gets or sets a value indicating whether extra claims are loaded from the registered claims filler providers. The default is true.

public bool LoadClaimsFromClaimsFillerProvider { get; set; }

Property Value

bool