Class: ClientSelfSignedJwtAuthHandler
Isolated
Defines the self signed JWT handler for client authentication.
Constructor
Initializes the self-signed JWT handler for client authentication.
init (JwtIssuerConfig config)
- config JwtIssuerConfig
JWT issuer configurations
Methods
enrich | Enriches the headers with the relevant authentication requirements. |
enrich
Isolated Function
Enriches the headers with the relevant authentication requirements.
Return Type
(map<string | string[ ]> | ClientAuthError)The updated map<string|string[]>
headers map instance or else a grpc:ClientAuthError
in case of an error