Instance Method

authorizationViewShouldDeauthorize:

Sent to the delegate when a user clicks the open lock icon.

Declaration

- (BOOL)authorizationViewShouldDeauthorize:(SFAuthorizationView *)view;

Discussion

The delegate can react to this before deauthorization happens and avoid it by returning NO. This delegate method is not called when you call the deauthorize: method.

See Also

Delegate methods

- authorizationViewCreatedAuthorization:

Sent to the delegate to indicate the authorization object has been created or changed. If you have saved a copy of the authorization object for your own purposes, you should discard it and call authorization for a new authorization object.

- authorizationViewDidAuthorize:

Sent to the delegate to indicate the user was authorized and the authorization view was changed to unlocked.

- authorizationViewDidDeauthorize:

Sent to the delegate to indicate the user was deauthorized and the authorization view was changed to locked.

- authorizationViewDidHide:

Sent to the delegate to indicate that the view’s visibility has changed.

- authorizationViewReleasedAuthorization:

Sent to the delegate to indicate that deauthorization is about to occur.