Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Request message for SignInWithPassword.
Instance Attribute Summary collapse
-
#captcha_challenge ⇒ String
Corresponds to the JSON property
captchaChallenge. -
#captcha_response ⇒ String
The reCAPTCHA token provided by the reCAPTCHA client-side integration.
-
#client_type ⇒ String
The client type, web, android or ios.
-
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property
delegatedProjectNumber. -
#email ⇒ String
Required.
-
#id_token ⇒ String
Corresponds to the JSON property
idToken. -
#instance_id ⇒ String
Corresponds to the JSON property
instanceId. -
#password ⇒ String
Required.
-
#pending_id_token ⇒ String
Corresponds to the JSON property
pendingIdToken. -
#recaptcha_version ⇒ String
The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
-
#return_secure_token ⇒ Boolean
(also: #return_secure_token?)
Should always be true.
-
#tenant_id ⇒ String
The ID of the Identity Platform tenant the user is signing in to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithPasswordRequest.
2987 2988 2989 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2987 def initialize(**args) update!(**args) end |
Instance Attribute Details
#captcha_challenge ⇒ String
Corresponds to the JSON property captchaChallenge
2922 2923 2924 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2922 def captcha_challenge @captcha_challenge end |
#captcha_response ⇒ String
The reCAPTCHA token provided by the reCAPTCHA client-side integration.
reCAPTCHA Enterprise uses it for risk assessment. Required when reCAPTCHA
Enterprise is enabled.
Corresponds to the JSON property captchaResponse
2929 2930 2931 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2929 def captcha_response @captcha_response end |
#client_type ⇒ String
The client type, web, android or ios. Required when reCAPTCHA Enterprise is
enabled.
Corresponds to the JSON property clientType
2935 2936 2937 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2935 def client_type @client_type end |
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property delegatedProjectNumber
2940 2941 2942 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2940 def delegated_project_number @delegated_project_number end |
#email ⇒ String
Required. The email the user is signing in with. The length of email should be
less than 256 characters and in the format of [email protected]. The email
should also match the RFC 822 addr-spec
production.
Corresponds to the JSON property email
2948 2949 2950 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2948 def email @email end |
#id_token ⇒ String
Corresponds to the JSON property idToken
2953 2954 2955 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2953 def id_token @id_token end |
#instance_id ⇒ String
Corresponds to the JSON property instanceId
2958 2959 2960 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2958 def instance_id @instance_id end |
#password ⇒ String
Required. The password the user provides to sign in to the account.
Corresponds to the JSON property password
2963 2964 2965 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2963 def password @password end |
#pending_id_token ⇒ String
Corresponds to the JSON property pendingIdToken
2968 2969 2970 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2968 def pending_id_token @pending_id_token end |
#recaptcha_version ⇒ String
The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
Corresponds to the JSON property recaptchaVersion
2973 2974 2975 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2973 def recaptcha_version @recaptcha_version end |
#return_secure_token ⇒ Boolean Also known as: return_secure_token?
Should always be true.
Corresponds to the JSON property returnSecureToken
2978 2979 2980 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2978 def return_secure_token @return_secure_token end |
#tenant_id ⇒ String
The ID of the Identity Platform tenant the user is signing in to. If not set,
the user will sign in to the default Identity Platform instance in the project.
Corresponds to the JSON property tenantId
2985 2986 2987 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2985 def tenant_id @tenant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2992 def update!(**args) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) @client_type = args[:client_type] if args.key?(:client_type) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @email = args[:email] if args.key?(:email) @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @password = args[:password] if args.key?(:password) @pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token) @recaptcha_version = args[:recaptcha_version] if args.key?(:recaptcha_version) @return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token) @tenant_id = args[:tenant_id] if args.key?(:tenant_id) end |