Class: Simple::OAuth2::Generators::Base
- Inherits:
-
Object
- Object
- Simple::OAuth2::Generators::Base
- Defined in:
- lib/simple_oauth2/generators/base.rb
Overview
Base class for Simple::OAuth2 generators
Direct Known Subclasses
Class Method Summary collapse
-
.allowed_grants ⇒ Array
Allowed grant types from the Simple::OAuth2 configuration.
-
.allowed_types ⇒ Array
Allowed response types from the Simple::OAuth2 configuration.
-
.config ⇒ Object
Short getter for Simple::OAuth2 configuration.
Class Method Details
.allowed_grants ⇒ Array
Allowed grant types from the Simple::OAuth2 configuration
11 12 13 |
# File 'lib/simple_oauth2/generators/base.rb', line 11 def allowed_grants config.allowed_grant_types end |
.allowed_types ⇒ Array
Allowed response types from the Simple::OAuth2 configuration
19 20 21 |
# File 'lib/simple_oauth2/generators/base.rb', line 19 def allowed_types config.allowed_response_types end |