DefaultIdentityClient.authenticate()
Home > @backstage/plugin-auth-node
> DefaultIdentityClient
> authenticate
Warning: This API is now obsolete.
You should start to use getIdentity instead of authenticate to retrieve the user identity.
Verifies the given backstage identity token Returns a BackstageIdentity (user) matching the token. The method throws an error if verification fails.
Signature:
authenticate(token: string | undefined): Promise<BackstageIdentityResponse>;
Parameters
Parameter |
Type |
Description |
---|---|---|
token |
string | undefined |
Promise<BackstageIdentityResponse>