app / com.pzpg.ogr.api.request / RequestServer / revokeToken
revokeToken
suspend fun revokeToken(jwtToken:
String
, rToken:
String
):
Int
Suspend method to revoke token when user logged out
Parameters
jwtToken
- access token gotten from refreshToken method or authorize
rToken
- refresh token gotten when user authorize or refresh jwtToken
Exceptions
BadRequestException
-
UnauthorizedException
-
TimeOutException
-
RequestServerException
-
Author Władysław Jakołcewicz