Method: SignIn::TokenParamsValidator#initialize

Defined in:
app/services/sign_in/token_params_validator.rb

#initialize(params:) ⇒ TokenParamsValidator

Returns a new instance of TokenParamsValidator.



40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'app/services/sign_in/token_params_validator.rb', line 40

def initialize(params:)
  @grant_type = params[:grant_type]
  @code = params[:code]
  @code_verifier = params[:code_verifier]
  @client_assertion = params[:client_assertion]
  @client_assertion_type = params[:client_assertion_type]
  @assertion = params[:assertion]
  @subject_token = params[:subject_token]
  @subject_token_type = params[:subject_token_type]
  @actor_token = params[:actor_token]
  @actor_token_type = params[:actor_token_type]
  @client_id = params[:client_id]
end