EnterpriseAccount

@Serializable
data class EnterpriseAccount(val id: String, val objectType: String, val protocol: String, val provider: String, val active: Boolean, val emailAddress: String, val firstName: String? = null, val lastName: String? = null, val providerUserId: String? = null, val publicMetadata: JsonObject, val verification: Verification? = null, val enterpriseConnection: EnterpriseAccount.EnterpriseConnection)

A model representing an enterprise account.

EnterpriseAccount encapsulates the details of a user's enterprise account.

Constructors

Link copied to clipboard
constructor(id: String, objectType: String, protocol: String, provider: String, active: Boolean, emailAddress: String, firstName: String? = null, lastName: String? = null, providerUserId: String? = null, publicMetadata: JsonObject, verification: Verification? = null, enterpriseConnection: EnterpriseAccount.EnterpriseConnection)

Types

Link copied to clipboard
@Serializable
data class EnterpriseConnection(val id: String, val protocol: String, val provider: String, val name: String, val logoPublicUrl: String, val domain: String, val active: Boolean, val syncUserAttributes: Boolean, val disableAdditionalIdentifications: Boolean, val createdAt: Long, val updatedAt: Long, val allowSubdomains: Boolean, val allowIdpInitiated: Boolean)

A model representing the connection details for an enterprise account.

Properties

Link copied to clipboard

A flag indicating whether the enterprise account is active.

Link copied to clipboard

The email address associated with the enterprise account.

Link copied to clipboard

Details about the enterprise connection associated with this account.

Link copied to clipboard
val firstName: String? = null

The first name of the account holder, if available.

Link copied to clipboard
val id: String

The unique identifier for the enterprise account.

Link copied to clipboard
val lastName: String? = null

The last name of the account holder, if available.

Link copied to clipboard
@SerialName(value = "object")
val objectType: String

The type of object, typically a string identifier indicating the object type.

Link copied to clipboard

The authentication protocol used (e.g., SAML, OpenID).

Link copied to clipboard

The name of the provider (e.g., Okta, Google).

Link copied to clipboard
val providerUserId: String? = null

The unique user identifier assigned by the provider, if available.

Link copied to clipboard
val publicMetadata: JsonObject

Public metadata associated with the enterprise account.

Link copied to clipboard

Verification information for the enterprise account, if available.