Skip to main content

AuthResolverContext

Home > @backstage/plugin-auth-node > AuthResolverContext

The context that is used for auth processing.

Signature:

export type AuthResolverContext = {
issueToken(params: TokenParams): Promise<{
token: string;
}>;
findCatalogUser(query: AuthResolverCatalogUserQuery): Promise<{
entity: Entity;
}>;
signInWithCatalogUser(query: AuthResolverCatalogUserQuery): Promise<BackstageSignInResult>;
};

References: TokenParams, AuthResolverCatalogUserQuery, Entity, BackstageSignInResult