Add documentation for new option

Signed-off-by: Fabio Torchetti <fabbari@amazon.com>
This commit is contained in:
Fabio Torchetti
2022-06-23 13:14:46 -05:00
parent 9c4e5cdee9
commit b1c7792e6a
@@ -44,6 +44,14 @@ export interface RouterOptions {
config: Config;
discovery: PluginEndpointDiscovery;
tokenManager: TokenManager;
/**
* The algorithm to be used when signing the JWT token.
*
* @defaultValue `ES256`
*
* @remarks
* This is passed to {@link TokenFactory| the token factory}.
*/
tokenKeyAlgorithm?: string;
providerFactories?: ProviderFactories;
}