DBAUTHUserAuthRoutes
Objective-C
@interface DBAUTHUserAuthRoutes : NSObject
Swift
class 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 (nonatomic, readonly) 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. If there is a corresponding refresh token for the access token, this disables that refresh token, as well as any other access tokens for that refresh token.
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 avoid
object on failure.