AuthService.getLimitedUserToken()
Home > @backstage/backend-plugin-api
> AuthService
> getLimitedUserToken
Issue a limited user token that can be used e.g. in cookie flows.
Signature:
getLimitedUserToken(
credentials: BackstageCredentials<BackstageUserPrincipal>): Promise<{
token: string;
expiresAt: Date;
}>;
Parameters
Parameter |
Type |
Description |
---|---|---|
credentials |
Promise<{ token: string; expiresAt: Date; }>