Exception: OAuth::RevokedTokenError

Inherits:
OAuthError
  • Object
show all
Defined in:
app/services/oauth.rb

Overview

Access token revoked, client cannot refresh and needs new authorization.

Instance Attribute Summary

Attributes inherited from OAuthError

#code

Instance Method Summary collapse

Constructor Details

#initializeRevokedTokenError

Returns a new instance of RevokedTokenError.


21
22
23
# File 'app/services/oauth.rb', line 21

def initialize
  super :revoked_token, "The access token has been revoked and is no longer valid."
end