Skip to main content

foundation-comms.credentialmanager.storecredentialsincookie

Home > @genesislcap/foundation-comms > CredentialManager > storeCredentialsInCookie

CredentialManager.storeCredentialsInCookie() method​

Stores the specified credential data in a browser cookie.

Signature:

storeCredentialsInCookie(data: CredentialData): boolean;

Parameters​

Parameter

Type

Description

data

CredentialData

The credential data to store.

Returns:

boolean

true if storage was successful, or false otherwise.