Class

CKFetchWebAuthTokenOperation

This operation fetches a web authentication token given an API token using an API token that you provide.

Declaration

@interface CKFetchWebAuthTokenOperation : CKDatabaseOperation

Overview

Use the addOperation: method in the CKDatabase class to add this operation to the operation queue of the public database.

To get an API token using CloudKit Dashboard, read Accessing CloudKit Using an API Token in CloudKit Web Services Reference.

Topics

Initializing a Web Auth Token

- initWithAPIToken:

Initializes and returns a CKFetchWebAuthTokenOperation object with the specified API token.

Accessing Properties

APIToken

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

fetchWebAuthTokenCompletionBlock

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

Relationships

Inherits From