DBAUTHUserAuthRoutes

@interface DBAUTHUserAuthRoutes : NSObject

Routes for the Auth namespace

  • An instance of the networking client that each route will use to submit a request.

    Declaration

    Objective-C

    @property (readonly, nonatomic) id<DBTransportClient> _Nonnull client;
  • Initializes the DBAUTHUserAuthRoutes namespace container object with a networking client.

    Declaration

    Objective-C

    - (nonnull instancetype)init:(nonnull id<DBTransportClient>)client;
  • Disables the access token used to authenticate the call.

    Declaration

    Objective-C

    - (nonnull DBRpcTask<DBNilObject *, DBNilObject *> *)tokenRevoke;

    Swift

    func tokenRevoke() -> DBRpcTask<DBNilObject, DBNilObject>

    Return Value

    Through the response callback, the caller will receive a void object on success or a void object on failure.