Module: Himari::RackOAuth2Ext::IssuerParam

Defined in:
lib/himari/rack_oauth2_ext.rb

Overview

Carried by the grant response; always emitted because the grant is always a redirect. Prepended onto the base response so every response type (Code::Response calls super) gains the ‘iss` accessor, including the response objects the loaded extensions hand to the endpoint block.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#issObject

Returns the value of attribute iss.



19
20
21
# File 'lib/himari/rack_oauth2_ext.rb', line 19

def iss
  @iss
end

Instance Method Details

#protocol_paramsObject



21
22
23
# File 'lib/himari/rack_oauth2_ext.rb', line 21

def protocol_params
  super.merge(iss:)
end