ONGAuthenticatorDeregistrationDelegate Protocol Reference

Conforms to NSObject
Declared in ONGAuthenticatorDeregistrationDelegate.h

Overview

Protocol describing interface for objects implementing methods required to deregister authenticator. All invocations are performed on the main queue.

– userClient:didStartDeregisteringAuthenticator:forUser:

Method called when authenticator deregistration is started.

- (void)userClient:(ONGUserClient *)userClient didStartDeregisteringAuthenticator:(ONGAuthenticator *)authenticator forUser:(ONGUserProfile *)userProfile

Parameters

userClient

user client performing authenticator deregistration

authenticator

authenticator being deregistered

userProfile

user profile for which authenticator deregistration is started

Declared In

ONGAuthenticatorDeregistrationDelegate.h

– userClient:didDeregisterAuthenticator:forUser:

Method called when authenticator deregistration is completed with success.

- (void)userClient:(ONGUserClient *)userClient didDeregisterAuthenticator:(ONGAuthenticator *)authenticator forUser:(ONGUserProfile *)userProfile

Parameters

userClient

user client performing authenticator deregistration

authenticator

deregistered authenticator

userProfile

user profile for which authenticator was deregistered

Declared In

ONGAuthenticatorDeregistrationDelegate.h

– userClient:didFailToDeregisterAuthenticator:forUser:error:

Method called when authenticator deregistration failed with an error.

- (void)userClient:(ONGUserClient *)userClient didFailToDeregisterAuthenticator:(ONGAuthenticator *)authenticator forUser:(ONGUserProfile *)userProfile error:(NSError *)error

Parameters

userClient

user client performing authenticator deregistration

authenticator

authenticator whose deregistration failed

userProfile

user profile for which authenticator deregistration failed

error

error describing cause of an error

Discussion

The returned error will be either within the ONGGenericErrorDomain or ONGAuthenticatorDeregistrationErrorDomain.

Declared In

ONGAuthenticatorDeregistrationDelegate.h

– userClient:didReceiveCustomAuthDeregistrationChallenge:

Method called when custom authenticator deregistration requires data to continue.

- (void)userClient:(ONGUserClient *)userClient didReceiveCustomAuthDeregistrationChallenge:(ONGCustomAuthDeregistrationChallenge *)challenge

Parameters

userClient

user client performing authenticator registration

challenge

challenge used to complete deregistration

Declared In

ONGAuthenticatorDeregistrationDelegate.h