Module: OAuth2

Defined in:
lib/oauth20/user.rb,
lib/oauth20/utils.rb,
lib/oauth20/client.rb,
lib/oauth20/storage.rb,
lib/oauth20/auth_code.rb,
lib/oauth20/auth_error.rb,
lib/oauth20/access_token.rb,
lib/oauth20/auth_request.rb,
lib/oauth20/auth_response.rb,
lib/oauth20/token_request.rb,
lib/oauth20/token_response.rb,
lib/oauth20/storages/strategy.rb,
lib/oauth20/storages/redis_strategy.rb

Defined Under Namespace

Modules: Storages, Utils Classes: AccessToken, AuthCode, AuthError, AuthRequest, AuthResponse, Client, Storage, TokenRequest, TokenResponse, User

Constant Summary collapse

ERROR_UNSUPPORTED_GRANT_TYPE =
'unsupported_grant_type'
ERROR_INVALID_CLIENT =
'invalid_client'
ERROR_INVALID_GRANT =
'invalid_grant'
ERROR_INVALID_REQUEST =
'invalid_request'
ERROR_UNAUTHORIZED_CLIENT =
'unauthorized_client'
ERROR_ACCESS_DENIED =
'access_denied'
ERROR_UNSUPPORTED_RESPONSE_TYPE =
'unsupported_response_type'
ERROR_INVALID_SCOPE =
'invalid_scope'
ERROR_SERVER_ERROR =
'server_error'
ERROR_TEMPORARILY_UNAVAILABLE =
'temporarily_unavailable'