Amplify JS API Documentation
Library Documentation
NPM
GitHub
Preparing search index...
aws-amplify
auth/cognito
DefaultIdentityIdStore
Class DefaultIdentityIdStore
Implements
IdentityIdStore
Index
Constructors
constructor
Properties
_
auth
Keys
_
has
Guest
Identity
Id
_
primary
Identity
Id
auth
Config?
key
Value
Storage
Methods
clear
Identity
Id
load
Identity
Id
set
Auth
Config
store
Identity
Id
Constructors
constructor
new
DefaultIdentityIdStore
(
keyValueStorage
:
KeyValueStorageInterface
,
)
:
DefaultIdentityIdStore
Parameters
keyValueStorage
:
KeyValueStorageInterface
Returns
DefaultIdentityIdStore
Properties
_
auth
Keys
_authKeys
:
AuthKeys
<
string
>
_
has
Guest
Identity
Id
_hasGuestIdentityId
:
boolean
_
primary
Identity
Id
_primaryIdentityId
:
string
|
undefined
Optional
auth
Config
authConfig
?:
AuthConfig
key
Value
Storage
keyValueStorage
:
KeyValueStorageInterface
Methods
clear
Identity
Id
clearIdentityId
()
:
Promise
<
void
>
Returns
Promise
<
void
>
load
Identity
Id
loadIdentityId
()
:
Promise
<
Identity
|
null
>
Returns
Promise
<
Identity
|
null
>
set
Auth
Config
setAuthConfig
(
authConfigParam
:
AuthConfig
)
:
void
Parameters
authConfigParam
:
AuthConfig
Returns
void
store
Identity
Id
storeIdentityId
(
identity
:
Identity
)
:
Promise
<
void
>
Parameters
identity
:
Identity
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
auth
Keys
_
has
Guest
Identity
Id
_
primary
Identity
Id
auth
Config
key
Value
Storage
Methods
clear
Identity
Id
load
Identity
Id
set
Auth
Config
store
Identity
Id
Library Documentation
NPM
GitHub
Amplify JS API Documentation
Loading...