Deregistration class abstract

The object that can be used to trigger an deregistration operation.

Usage example:

  [...]
  Future<void> deregister({
    required MobileAuthenticationClient client,
    required String username,
    String? aaid,
    AuthorizationProvider? authorizationProvider,
  }) async {
    await client.operations.deregistration
      .username(username)
      .aaid(aaid)
      .authorizationProvider(authorizationProvider)
      .onSuccess(() {
        // handle success
      })
      .onError((error) {
        // handle error
      })
      .execute();
  }
  [...]
Inheritance

Constructors

Deregistration()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

aaid(String aaid) Deregistration
Specifies the AAID of the Authenticator that must be deregistered.
authorizationProvider(AuthorizationProvider authorizationProvider) Deregistration
Specifies the authorization provider to be used to deregister the authenticator.
execute() → Future<void>
Executes the operation asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(dynamic onError(OperationError)) Deregistration
Specifies the object that will be invoked if the deregistration failed.
onSuccess(Function onSuccess) Deregistration
Specifies the object that will be invoked if the authenticator was deleted successfully.
requestHeaders(RequestHeaders requestHeaders) Deregistration
Specifies the additional request headers that must be included in the HTTP requests sent by the operation.
inherited
toString() → String
A string representation of this object.
inherited
username(String username) Deregistration
Specifies the username that must be deregistered.

Operators

operator ==(Object other) → bool
The equality operator.
inherited