Credential
public struct Credential : Codable, Equatable
Holds the result of a successful OAuth2 authentication, including the Salesforce access token and the refresh token, if available.
Reference
-
Undocumented
Declaration
Swift
public let accessToken: String
-
Undocumented
Declaration
Swift
public let instanceURL: URL
-
Undocumented
Declaration
Swift
public let identityURL: URL
-
Undocumented
Declaration
Swift
public let refreshToken: String?
-
Undocumented
Declaration
Swift
public let siteURL: URL?
-
Undocumented
Declaration
Swift
public let siteID: String?
-
Undocumented
Declaration
Swift
public let timestamp: Date?
-
The identifier for the user associated with this credential.
Swiftly Salesforce uses the identity URL as a unique identifier for securely storing and retrieving credentials.
Reference
Declaration
Swift
var user: UserIdentifier { get }
-
The ID of the Salesforce User record associated with this credential.
Declaration
Swift
var userID: String { get }
-
The ID of the Salesforce Organization record associated with this credential.
Declaration
Swift
var orgID: String { get }