Contents

fetchWebAuthTokenResultBlock

The closure to execute when the operation finishes.

Declaration

var fetchWebAuthTokenResultBlock: ((Result<String, any Error>) -> Void)? { get set }

Discussion

The closure returns no value and takes the following parameter:

  • A 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.