DefaultIdentityClient
Home > @backstage/plugin-auth-node
> DefaultIdentityClient
An identity client to interact with auth-backend and authenticate Backstage tokens
This is not a stable API yet
Signature:
class DefaultIdentityClient implements IdentityApi
Implements: IdentityApi
Methods
Method | Modifiers | Description |
---|---|---|
authenticate(token) | Verifies the given backstage identity token Returns a BackstageIdentity (user) matching the token. The method throws an error if verification fails. | |
create(options) | static | Create a new DefaultIdentityClient instance. |
getIdentity(options) |