mockApis.identity.factory()
Home > @backstage/test-utils > mockApis > identity > factory
Signature:
factory: (options?: {
userEntityRef?: string;
ownershipEntityRefs?: string[];
token?: string;
email?: string;
displayName?: string;
picture?: string;
} | undefined) => ApiFactory<IdentityApi, IdentityApi, {}>
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
{ userEntityRef?: string; ownershipEntityRefs?: string[]; token?: string; email?: string; displayName?: string; picture?: string; } | undefined |
(Optional) |
ApiFactory<IdentityApi, IdentityApi, {}>