Class: Contrib::Auth::Provider::Responses::SignInWithPassword

Inherits:
Object
  • Object
show all
Defined in:
lib/contrib/auth/provider/responses/sign_in_with_password.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ SignInWithPassword

Returns a new instance of SignInWithPassword.



10
11
12
13
14
# File 'lib/contrib/auth/provider/responses/sign_in_with_password.rb', line 10

def initialize(params = {})
  params.each do  |param, key|
    public_send("#{param}=", key)
  end
end

Instance Attribute Details

#expires_inObject

Returns the value of attribute expires_in.



8
9
10
# File 'lib/contrib/auth/provider/responses/sign_in_with_password.rb', line 8

def expires_in
  @expires_in
end

#id_tokenObject

Returns the value of attribute id_token.



6
7
8
# File 'lib/contrib/auth/provider/responses/sign_in_with_password.rb', line 6

def id_token
  @id_token
end

#refresh_tokenObject

Returns the value of attribute refresh_token.



7
8
9
# File 'lib/contrib/auth/provider/responses/sign_in_with_password.rb', line 7

def refresh_token
  @refresh_token
end