AuthenticationConfiguration class
General configuration settings for authentication.
Constructors
Authentication |
General configuration settings for authentication. |
Properties
required |
|
validate |
|
valid |
Constructor Details
AuthenticationConfiguration(string[], ValidateClaims, string[])
General configuration settings for authentication.
new AuthenticationConfiguration(requiredEndorsements?: string[], validateClaims?: ValidateClaims, validTokenIssuers?: string[])
Parameters
- requiredEndorsements
-
string[]
An array of JWT endorsements.
- validateClaims
- ValidateClaims
Function that validates a list of Claims and should throw an exception if the validation fails.
- validTokenIssuers
-
string[]
An array of valid JWT token issuers.
Property Details
requiredEndorsements
requiredEndorsements: string[]
Property Value
string[]
validateClaims
validTokenIssuers
validTokenIssuers?: string[]
Property Value
string[]