Instance Property


The block to execute when this CKFetchWebAuthTokenOperation object fetches the web authentication token.


@property(nonatomic, copy, nullable) void (^fetchWebAuthTokenCompletionBlock)(NSString *webAuthToken, NSError *operationError);


The block returns no value and takes the following parameters:


If the operation is successful, the web authentication token; otherwise, nil.


An error object containing information about a problem, or nil if the results are retrieved successfully.

The operation object executes this block only once and it is your only chance to process the operation results. Your block must be capable of executing on a background thread, so any tasks that require access to the main thread must be redirected accordingly.

See Also

Accessing Properties


An API token that allows access to an app’s container.