EnterpriseAccount - Types - Next.js | Clerk Docs
EnterpriseAccount
An interface that represents an enterprise account.
Properties
Name
active
Typeboolean
Description
Whether the account is active.Name
emailAddress
Typestring
Description
The email address of the enterprise account.Name
enterpriseConnection
TypeEnterpriseAccountConnection | null
Description
The enterprise connection associated with the enterprise account.Name
enterpriseConnectionId
Typestring | null
Description
The ID of the enterprise connection associated with the enterprise account.Name
firstName
Typestring | null
Description
The first name of the user associated with the enterprise account.Name
id
Typestring
Description
The unique identifier of the enterprise account.Name
lastAuthenticatedAt
TypeDate | null
Description
The date and time when the enterprise account was last authenticated.Name
lastName
Typestring | null
Description
The last name of the user associated with the enterprise account.Name
protocol
Type'saml' | 'oauth'
Description
The authentication protocol of the enterprise account.Name
provider
Type"saml_okta" | "saml_google" | "saml_microsoft" | "saml_custom" | "oauth_${OAuthProvider}"
Description
The provider of the enterprise account.Name
providerUserId
Typestring | null
Description
The user's ID as used in the provider.Name
publicMetadata
TypeRecord<string, unknown>
Description
Metadata that can be read from the Frontend API and Backend API, but can be set only from the Backend API.Name
verification
TypeVerificationResource | null
Description
TheVerificationResourceof the enterprise account, which includes information about the verification process, such as the number of attempts, the status, and the error if the verification failed.