Search in sources :

Example 1 with AccessToken

use of rxreddit.model.AccessToken in project RxReddit by damien5314.

the class RedditAuthService method revokeUserAuthentication.

@Override
public Completable revokeUserAuthentication() {
    AccessToken token = getUserAccessToken();
    userAccessToken = null;
    accessTokenManager.clearSavedUserAccessToken();
    return revokeAuthToken(token);
}
Also used : AccessToken(rxreddit.model.AccessToken) ApplicationAccessToken(rxreddit.model.ApplicationAccessToken) UserAccessToken(rxreddit.model.UserAccessToken)

Aggregations

AccessToken (rxreddit.model.AccessToken)1 ApplicationAccessToken (rxreddit.model.ApplicationAccessToken)1 UserAccessToken (rxreddit.model.UserAccessToken)1