CatalogIdentityClient.findUser()
Home > @backstage/plugin-auth-backend
> CatalogIdentityClient
> findUser
Looks up a single user using a query.
Throws a NotFoundError or ConflictError if 0 or multiple users are found.
Signature:
findUser(query: {
annotations: Record<string, string>;
}): Promise<UserEntity>;
Parameters
Parameter |
Type |
Description |
---|---|---|
query |
{ annotations: Record<string, string>; } |
Promise<UserEntity>