Method: Figo#revoke_token
- Defined in:
- lib/authentification/api_call.rb
#revoke_token(refresh_token_or_access_token) ⇒ nil
Note:
this action has immediate effect, i.e. you will not be able use that token anymore after this call.
Revoke refresh token or access token.
48 49 50 51 |
# File 'lib/authentification/api_call.rb', line 48 def revoke_token(refresh_token_or_access_token) data = { "token" => refresh_token_or_access_token } query_api "/auth/revoke", data end |