init
TypeScriptstatic init(): CKFetchWebAuthTokenOperationSwift declarationinit()class · iOS 9.2+ · SDK 27.1
class CKFetchWebAuthTokenOperationstatic init(): CKFetchWebAuthTokenOperationSwift declarationinit()static initApiToken(APIToken: string): CKFetchWebAuthTokenOperationSwift declarationconvenience init(apiToken APIToken: String)get apiToken(): (string) | nullSwift declarationvar apiToken: String? { get set }set apiToken(value: (string) | null)Swift declarationvar apiToken: String? { get set }get fetchWebAuthTokenCompletionBlock(): (((arg0: (string) | null, arg1: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar fetchWebAuthTokenCompletionBlock: ((String?, (any Error)?) -> Void)? { get set }set fetchWebAuthTokenCompletionBlock(value: (((arg0: (string) | null, arg1: (NativeError) | null) => void)) | null)Swift declarationvar fetchWebAuthTokenCompletionBlock: ((String?, (any Error)?) -> Void)? { get set }get fetchWebAuthTokenResultBlock(): (((arg0: SDKHandle) => Promise<void>)) | nullSwift declarationvar fetchWebAuthTokenResultBlock: ((Result<String, any Error>) -> Void)? { get set }The closure to execute when the operation finishes. The closure returns no value and takes the following parameter: - A <doc://com.apple.documentation/documentation/swift/result> that contains either: - The web authentication token - An error that contains information about a problem encountered fetching the token. The closure executes only once. The closure executes serially with respect to the other closures of the operation. Update the value of this property before you execute the operation or submit it to a queue.
set fetchWebAuthTokenResultBlock(value: (((arg0: SDKHandle) => void)) | null)Swift declarationvar fetchWebAuthTokenResultBlock: ((Result<String, any Error>) -> Void)? { get set }The closure to execute when the operation finishes. The closure returns no value and takes the following parameter: - A <doc://com.apple.documentation/documentation/swift/result> that contains either: - The web authentication token - An error that contains information about a problem encountered fetching the token. The closure executes only once. The closure executes serially with respect to the other closures of the operation. Update the value of this property before you execute the operation or submit it to a queue.
No declarations were skipped in this snapshot.