Backstage
Docs
Github
Preparing search index...
@backstage/frontend-test-utils
mockApis
identity
Function identity
identity
(
options
?:
{
displayName
?:
string
;
email
?:
string
;
ownershipEntityRefs
?:
string
[]
;
picture
?:
string
;
token
?:
string
;
userEntityRef
?:
string
;
}
,
)
:
MockWithApiFactory
<
IdentityApi
>
Fake implementation of @backstage/core-plugin-api#IdentityApi.
Parameters
Optional
options
:
{
displayName
?:
string
;
email
?:
string
;
ownershipEntityRefs
?:
string
[]
;
picture
?:
string
;
token
?:
string
;
userEntityRef
?:
string
;
}
Returns
MockWithApiFactory
<
IdentityApi
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Fake implementation of @backstage/core-plugin-api#IdentityApi.