Skip to main content

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

MethodModifiersDescription
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)staticCreate a new DefaultIdentityClient instance.
getIdentity(options)