public interface TokenAPI
API implementation of the Strava REST interface for token management
| Modifier and Type | Method and Description |
|---|---|
TokenResponse |
deauthorise(String accessToken) |
@FormUrlEncoded @POST(value="/oauth/deauthorize") TokenResponse deauthorise(@Field(value="access_token") String accessToken) throws UnauthorizedException
accessToken - The access token for which the application is revoking its access.UnauthorizedException - if the token is not allowed to be deauthorisedTokenService.deauthorise(javastrava.api.v3.auth.model.Token)Copyright © 2015 Dan Shannon. All rights reserved.