Class: Grape::OAuth2::Generators::Base
- Inherits:
-
Object
- Object
- Grape::OAuth2::Generators::Base
- Defined in:
- lib/grape_oauth2/generators/base.rb
Overview
Base class for Grape::OAuth2 generators. Grape::OAuth2 generators processes the requests and generates responses with Access Token or Authorization Code.
Direct Known Subclasses
Class Method Summary collapse
-
.allowed_grants ⇒ Array
Allowed grant types from the Grape::OAuth2 configuration.
-
.config ⇒ Object
Short getter for Grape::OAuth2 configuration.
Class Method Details
.allowed_grants ⇒ Array
Allowed grant types from the Grape::OAuth2 configuration.
14 15 16 |
# File 'lib/grape_oauth2/generators/base.rb', line 14 def allowed_grants config.allowed_grant_types end |