AuthenticationConfiguration class

General configuration settings for authentication.

Constructors

AuthenticationConfiguration(string[], ValidateClaims, string[])

General configuration settings for authentication.

Properties

requiredEndorsements
validateClaims
validTokenIssuers

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

validateClaims?: ValidateClaims

Property Value

validTokenIssuers

validTokenIssuers?: string[]

Property Value

string[]