UserAccountBuilder

This class helps build a UserAccount object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Sets account name.

Link copied to clipboard
fun additionalOauthValues(additionalOauthValues: Map<String, String>?): UserAccountBuilder

Sets additional OAuth values.

Link copied to clipboard

Sets the allow unset behavior When false:

Link copied to clipboard
fun apiInstanceServer(apiInstanceServer: String?): UserAccountBuilder

Sets api instance server.

Link copied to clipboard

Sets auth token.

Link copied to clipboard
fun beaconChildConsumerKey(beaconChildConsumerKey: String?): UserAccountBuilder

Sets beacon child consumer key

Link copied to clipboard
fun beaconChildConsumerSecret(beaconChildConsumerSecret: String?): UserAccountBuilder

Sets beacon child consumer secret

Link copied to clipboard

Builds and returns a UserAccount object.

Link copied to clipboard

Sets oauth client id

Link copied to clipboard

Sets community ID.

Link copied to clipboard

Sets community URL.

Link copied to clipboard

Sets content domain.

Link copied to clipboard

Sets content SID.

Link copied to clipboard
fun cookieClientSrc(cookieClientSrc: String?): UserAccountBuilder

Sets cookie client src

Link copied to clipboard
fun cookieSidClient(cookieSidClient: String?): UserAccountBuilder

Sets cookie sid client

Link copied to clipboard
fun credentialsIdentifier(credentialsIdentifier: String?): UserAccountBuilder

Sets credentials identifier (keystore alias for the DPoP keypair).

Link copied to clipboard

Sets CSRF token.

Link copied to clipboard

Sets display name.

Link copied to clipboard

Sets email.

Link copied to clipboard

Sets first name.

Link copied to clipboard

Sets identity URL.

Link copied to clipboard

Sets instance server.

Link copied to clipboard

Sets language.

Link copied to clipboard

Sets last name.

Link copied to clipboard
fun lastTokenRotationTime(lastTokenRotationTime: String?): UserAccountBuilder

Sets the ISO-8601 timestamp of the last confirmed Refresh Token Rotation (RTR).

Link copied to clipboard
fun lightningDomain(lightningDomain: String?): UserAccountBuilder

Sets lightning domain.

Link copied to clipboard

Sets lightning SID.

Link copied to clipboard

Sets locale.

Link copied to clipboard

Sets login server.

Link copied to clipboard

Sets if the user authenticated with native login.

Link copied to clipboard

Sets org ID.

Link copied to clipboard

Sets parent sid

Link copied to clipboard

Sets photo URL.

Link copied to clipboard

Set fields from id service response

Link copied to clipboard

Set fields from token end point response

Link copied to clipboard

Set fields from an existing UserAccount

Link copied to clipboard

Sets oauth redirect uri

Link copied to clipboard

Sets refresh token.

Link copied to clipboard

Sets scope returned by token endpoint.

Link copied to clipboard

Sets sid cookie name

Link copied to clipboard

Sets thumbnail URL.

Link copied to clipboard

Sets token format

Link copied to clipboard

Sets token type (e.g. "Bearer" or "DPoP").

Link copied to clipboard

Sets user ID.

Link copied to clipboard

Sets username.

Link copied to clipboard

Sets VF domain.

Link copied to clipboard

Sets VF SID.