AuthProviderRouteHandlers.logout()
Home > @backstage/plugin-auth-node
> AuthProviderRouteHandlers
> logout
(Optional) Handles sign out requests
Response - removes the refresh token cookie
Signature:
logout?(req: Request, res: Response): Promise<void>;
Parameters
Parameter |
Type |
Description |
---|---|---|
req |
Request | |
res |
Response |
Promise<void>