Class: Himari::AccessToken::Bearer

Inherits:
Rack::OAuth2::AccessToken::Bearer
  • Object
show all
Defined in:
lib/himari/access_token.rb

Instance Method Summary collapse

Instance Method Details

#token_response(options = {}) ⇒ Object



11
12
13
14
15
# File 'lib/himari/access_token.rb', line 11

def token_response(options = {})
  super.tap do |r|
    r[:token_type] = 'Bearer' # https://github.com/nov/openid_connect_sample/blob/a5b7ee5b63508d99a3a36b4537809dfa64ba3b1f/lib/token_endpoint.rb#L37
  end
end