Credentials
public struct Credentials : Codable, Equatable
Object containing credential information.
-
The source that this credentials object connects to.
boxindicates the credentials are used to connect an instance of Enterprise Box.salesforceindicates the credentials are used to connect to Salesforce.sharepointindicates the credentials are used to connect to Microsoft SharePoint Online.web_crawlindicates the credentials are used to perform a web crawl. =cloud_object_storageindicates the credentials are used to connect to an IBM Cloud Object Store.
Declaration
Swift
public enum SourceType : String -
Unique identifier for this set of credentials.
Declaration
Swift
public var credentialID: String? -
The source that this credentials object connects to.
boxindicates the credentials are used to connect an instance of Enterprise Box.salesforceindicates the credentials are used to connect to Salesforce.sharepointindicates the credentials are used to connect to Microsoft SharePoint Online.web_crawlindicates the credentials are used to perform a web crawl. =cloud_object_storageindicates the credentials are used to connect to an IBM Cloud Object Store.
Declaration
Swift
public var sourceType: String? -
Object containing details of the stored credentials. Obtain credentials for your source from the administrator of the source.
Declaration
Swift
public var credentialDetails: CredentialDetails? -
Object that contains details about the status of the authentication process.
Declaration
Swift
public var status: StatusDetails? -
Initialize a
Credentialswith member variables.Declaration
Swift
public init( sourceType: String? = nil, credentialDetails: CredentialDetails? = nil, status: StatusDetails? = nil )Parameters
sourceTypeThe source that this credentials object connects to.
boxindicates the credentials are used to connect an instance of Enterprise Box.salesforceindicates the credentials are used to connect to Salesforce.sharepointindicates the credentials are used to connect to Microsoft SharePoint Online.web_crawlindicates the credentials are used to perform a web crawl. =cloud_object_storageindicates the credentials are used to connect to an IBM Cloud Object Store.
credentialDetailsObject containing details of the stored credentials. Obtain credentials for your source from the administrator of the source.
statusObject that contains details about the status of the authentication process.
Return Value
An initialized
Credentials.
View on GitHub
Credentials Structure Reference