Exception: Rack::OAuth2::Server::UnauthorizedClientError
- Inherits:
-
OAuthError
- Object
- StandardError
- OAuthError
- Rack::OAuth2::Server::UnauthorizedClientError
- Defined in:
- lib/rack/oauth2/server/errors.rb
Overview
The authenticated client is not authorized to use the access grant type provided.
Instance Attribute Summary
Attributes inherited from OAuthError
Instance Method Summary collapse
-
#initialize ⇒ UnauthorizedClientError
constructor
A new instance of UnauthorizedClientError.
Constructor Details
#initialize ⇒ UnauthorizedClientError
Returns a new instance of UnauthorizedClientError.
83 84 85 |
# File 'lib/rack/oauth2/server/errors.rb', line 83 def initialize super :unauthorized_client, "You are not allowed to access this resource." end |