Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
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
Default
Identity
Id
Store
(
keyValueStorage
)
:
DefaultIdentityIdStore
Parameters
keyValueStorage
:
KeyValueStorageInterface
Returns
DefaultIdentityIdStore
Properties
_auth
Keys
_auth
Keys
:
AuthKeys
<
string
>
_has
Guest
Identity
Id
_has
Guest
Identity
Id
:
boolean
_primary
Identity
Id
_primary
Identity
Id
:
undefined
|
string
Optional
auth
Config
auth
Config
?:
AuthConfig
key
Value
Storage
key
Value
Storage
:
KeyValueStorageInterface
Methods
clear
Identity
Id
clear
Identity
Id
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
load
Identity
Id
load
Identity
Id
(
)
:
Promise
<
null
|
Identity
>
Returns
Promise
<
null
|
Identity
>
set
Auth
Config
set
Auth
Config
(
authConfigParam
)
:
void
Parameters
authConfigParam
:
AuthConfig
Returns
void
store
Identity
Id
store
Identity
Id
(
identity
)
:
Promise
<
void
>
Parameters
identity
:
Identity
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_auth
Keys
_has
Guest
Identity
Id
_primary
Identity
Id
auth
Config
key
Value
Storage
clear
Identity
Id
load
Identity
Id
set
Auth
Config
store
Identity
Id
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter