Skip to main content

`CredentialConstants`

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

CredentialConstants is a constants object exposing well-known credential attribute names, so you can refer to a credential without a string literal.

Usage​

import { CredentialConstants, updateMeCredentials } from '@thunderid/browser'

await updateMeCredentials({
baseUrl,
payload: { [CredentialConstants.PASSWORD]: newValue },
fetcher,
})

Constants​

ConstantTypeValueDescription
PASSWORDstring'password'The default credential every user type ships with.

Was this page helpful?