Share via


JWTAuthenticatorClaimMappings interface

The claim mappings for JWTAuthenticator.

Properties

extra

The expression to extract extra attribute from the token claims. When not provided, no extra attributes are extracted from the token claims.

groups

The expression to extract groups attribute from the token claims. When not provided, no groups are extracted from the token claims.

uid

The expression to extract uid attribute from the token claims. When not provided, no uid is extracted from the token claims.

username

The expression to extract username attribute from the token claims.

Property Details

extra

The expression to extract extra attribute from the token claims. When not provided, no extra attributes are extracted from the token claims.

extra?: JWTAuthenticatorExtraClaimMappingExpression[]

Property Value

groups

The expression to extract groups attribute from the token claims. When not provided, no groups are extracted from the token claims.

groups?: JWTAuthenticatorClaimMappingExpression

Property Value

uid

The expression to extract uid attribute from the token claims. When not provided, no uid is extracted from the token claims.

uid?: JWTAuthenticatorClaimMappingExpression

Property Value

username

The expression to extract username attribute from the token claims.

username: JWTAuthenticatorClaimMappingExpression

Property Value