Class: Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyEmailLinkSigninRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb

Overview

Request to sign in with email.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentitytoolkitRelyingpartyEmailLinkSigninRequest

Returns a new instance of IdentitytoolkitRelyingpartyEmailLinkSigninRequest.



549
550
551
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 549

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#emailString

The email address of the user. Corresponds to the JSON property email

Returns:

  • (String)


537
538
539
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 537

def email
  @email
end

#id_tokenString

Token for linking flow. Corresponds to the JSON property idToken

Returns:

  • (String)


542
543
544
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 542

def id_token
  @id_token
end

#oob_codeString

The confirmation code. Corresponds to the JSON property oobCode

Returns:

  • (String)


547
548
549
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 547

def oob_code
  @oob_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
557
558
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 554

def update!(**args)
  @email = args[:email] if args.key?(:email)
  @id_token = args[:id_token] if args.key?(:id_token)
  @oob_code = args[:oob_code] if args.key?(:oob_code)
end