Exception: Rack::OAuth2::Server::UnauthorizedClientError

Inherits:
OAuthError
  • Object
show all
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

#code

Instance Method Summary collapse

Constructor Details

#initializeUnauthorizedClientError

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