class Simple::OAuth2::Generators::Base
Base
class for Simple::OAuth2
generators
Public Class Methods
allowed_grants()
click to toggle source
Allowed grant types from the Simple::OAuth2
configuration
@return [Array] allowed grant types
# File lib/simple_oauth2/generators/base.rb, line 11 def allowed_grants config.allowed_grant_types end
allowed_types()
click to toggle source
Allowed response types from the Simple::OAuth2
configuration
@return [Array] allowed response types
# File lib/simple_oauth2/generators/base.rb, line 19 def allowed_types config.allowed_response_types end
config()
click to toggle source
Short getter for Simple::OAuth2
configuration.
# File lib/simple_oauth2/generators/base.rb, line 24 def config Simple::OAuth2.config end