Removes an authentication strategy, preventing new authentications from using it.
In a cluster environment, the new strategy is automatically removed from all server nodes.
Authentication tokens previously created using that strategy ARE NOT invalidated after using this method.
remove(name: string): Promise<void>;
| || |
|Name of the authentication strategy to remove|
remove function returns a promise, resolved once the strategy has been successfully removed.
This promise is rejected if the strategy to remove does not exist, or if it is owned by another plugin.
Edit this page on Github (opens new window)