Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse
- 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
Response message for SignInWithPassword.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The user's display name stored in the account's attributes.
-
#email ⇒ String
The email of the authenticated user.
-
#expires_in ⇒ Fixnum
The number of seconds until the Identity Platform ID token expires.
-
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#local_id ⇒ String
The ID of the authenticated user.
-
#mfa_info ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment>
Info on which multi-factor authentication providers are enabled for the account.
-
#mfa_pending_credential ⇒ String
An opaque string that functions as proof that the user has successfully passed the first factor authentication.
-
#oauth_access_token ⇒ String
The OAuth2 access token.
-
#oauth_authorization_code ⇒ String
Corresponds to the JSON property
oauthAuthorizationCode
. -
#oauth_expire_in ⇒ Fixnum
The access token expiration time in seconds.
-
#profile_picture ⇒ String
The user's profile picture stored in the account's attributes.
-
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
-
#registered ⇒ Boolean
(also: #registered?)
Whether the email is for an existing account.
-
#user_notifications ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserNotification>
Warning notifications for the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse.
3068 3069 3070 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3068 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The user's display name stored in the account's attributes.
Corresponds to the JSON property displayName
2992 2993 2994 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2992 def display_name @display_name end |
#email ⇒ String
The email of the authenticated user. Always present in the response.
Corresponds to the JSON property email
2997 2998 2999 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2997 def email @email end |
#expires_in ⇒ Fixnum
The number of seconds until the Identity Platform ID token expires.
Corresponds to the JSON property expiresIn
3002 3003 3004 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3002 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
Corresponds to the JSON property idToken
3007 3008 3009 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3007 def id_token @id_token end |
#kind ⇒ String
Corresponds to the JSON property kind
3012 3013 3014 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3012 def kind @kind end |
#local_id ⇒ String
The ID of the authenticated user. Always present in the response.
Corresponds to the JSON property localId
3017 3018 3019 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3017 def local_id @local_id end |
#mfa_info ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment>
Info on which multi-factor authentication providers are enabled for the
account. Present if the user needs to complete the sign-in using multi-factor
authentication.
Corresponds to the JSON property mfaInfo
3024 3025 3026 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3024 def mfa_info @mfa_info end |
#mfa_pending_credential ⇒ String
An opaque string that functions as proof that the user has successfully passed
the first factor authentication.
Corresponds to the JSON property mfaPendingCredential
3030 3031 3032 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3030 def mfa_pending_credential @mfa_pending_credential end |
#oauth_access_token ⇒ String
The OAuth2 access token.
Corresponds to the JSON property oauthAccessToken
3035 3036 3037 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3035 def oauth_access_token @oauth_access_token end |
#oauth_authorization_code ⇒ String
Corresponds to the JSON property oauthAuthorizationCode
3040 3041 3042 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3040 def @oauth_authorization_code end |
#oauth_expire_in ⇒ Fixnum
The access token expiration time in seconds.
Corresponds to the JSON property oauthExpireIn
3045 3046 3047 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3045 def oauth_expire_in @oauth_expire_in end |
#profile_picture ⇒ String
The user's profile picture stored in the account's attributes.
Corresponds to the JSON property profilePicture
3050 3051 3052 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3050 def profile_picture @profile_picture end |
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
Corresponds to the JSON property refreshToken
3055 3056 3057 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3055 def refresh_token @refresh_token end |
#registered ⇒ Boolean Also known as: registered?
Whether the email is for an existing account. Always true.
Corresponds to the JSON property registered
3060 3061 3062 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3060 def registered @registered end |
#user_notifications ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserNotification>
Warning notifications for the user.
Corresponds to the JSON property userNotifications
3066 3067 3068 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3066 def user_notifications @user_notifications end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3073 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @expires_in = args[:expires_in] if args.key?(:expires_in) @id_token = args[:id_token] if args.key?(:id_token) @kind = args[:kind] if args.key?(:kind) @local_id = args[:local_id] if args.key?(:local_id) @mfa_info = args[:mfa_info] if args.key?(:mfa_info) @mfa_pending_credential = args[:mfa_pending_credential] if args.key?(:mfa_pending_credential) @oauth_access_token = args[:oauth_access_token] if args.key?(:oauth_access_token) @oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code) @oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in) @profile_picture = args[:profile_picture] if args.key?(:profile_picture) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) @registered = args[:registered] if args.key?(:registered) @user_notifications = args[:user_notifications] if args.key?(:user_notifications) end |