ClientInfo

open class ClientInfo

All immutable information for an authenticated client (e.g. username, org ID, etc.). TODO revisit this class - some of information is NOT immutable e.g. sids

Inheritors

Constructors

Link copied to clipboard
constructor(instanceUrl: URI, loginUrl: URI, identityUrl: URI, accountName: String, username: String, userId: String, orgId: String, communityId: String, communityUrl: String, firstName: String, lastName: String, displayName: String, email: String, photoUrl: String, thumbnailUrl: String, additionalOauthValues: Map<String, String>, lightningDomain: String, lightningSid: String, vfDomain: String, vfSid: String, contentDomain: String, contentSid: String, csrfToken: String)
Parameterized constructor.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun buildUniqueId(): String
Link copied to clipboard
open fun getInstanceUrl(): URI
Returns a URI representation of the instance URL.
Link copied to clipboard
Returns a string representation of the instance URL.
Link copied to clipboard
open fun resolveUrl(request: RestRequest): URI
Resolves the given RestRequest to its URL.
open fun resolveUrl(path: String): URI
Resolves the given path against the community URL or the instance URL, depending on whether the user is a community user or not.
open fun resolveUrl(path: String, endpoint: RestRequest.RestEndpoint): URI
Resolves the given path against the community URL, login URL, or instance URL.
Link copied to clipboard
open fun toString(): String