UserIdentity.create()
Home > @backstage/core-components > UserIdentity > create
Creates a new IdentityApi implementation using a user identity and an auth API that will be used to request backstage tokens.
Signature:
static create(options: {
identity: BackstageUserIdentity;
authApi: ProfileInfoApi & BackstageIdentityApi & SessionApi;
profile?: ProfileInfo;
}): IdentityApi;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
{ identity: BackstageUserIdentity; authApi: ProfileInfoApi & BackstageIdentityApi & SessionApi; profile?: ProfileInfo; } |
Returns: