Documentation / identity/IIdentity
identity/IIdentity
Interfaces
IIdentity<TDetails>
Defines the context for identity.
Type Parameters
• TDetails = object
Properties
claims
claims:
object
The claims for the identity.
Index Signature
[key
: string
]: string
Defined in
details
details:
TDetails
The application specific details for the identity.
Defined in
id
id:
string
The id of the identity.
Defined in
isSet
isSet:
boolean
Whether the details are set.
Defined in
name
name:
string
The name of the identity.
Defined in
Methods
refresh()
refresh():
Promise
<IIdentity
<TDetails
>>
Refreshes the identity context.
Returns
Promise
<IIdentity
<TDetails
>>