Skip to main content
Back to Browser

CredentialConstants

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.

Explore with AI

ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.