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.
3095 3096 3097 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3095 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
3019 3020 3021 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3019 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
3024 3025 3026 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3024 def email @email end |
#expires_in ⇒ Fixnum
The number of seconds until the Identity Platform ID token expires.
Corresponds to the JSON property expiresIn
3029 3030 3031 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3029 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
Corresponds to the JSON property idToken
3034 3035 3036 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3034 def id_token @id_token end |
#kind ⇒ String
Corresponds to the JSON property kind
3039 3040 3041 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3039 def kind @kind end |
#local_id ⇒ String
The ID of the authenticated user. Always present in the response.
Corresponds to the JSON property localId
3044 3045 3046 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3044 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
3051 3052 3053 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3051 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
3057 3058 3059 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3057 def mfa_pending_credential @mfa_pending_credential end |
#oauth_access_token ⇒ String
The OAuth2 access token.
Corresponds to the JSON property oauthAccessToken
3062 3063 3064 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3062 def oauth_access_token @oauth_access_token end |
#oauth_authorization_code ⇒ String
Corresponds to the JSON property oauthAuthorizationCode
3067 3068 3069 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3067 def @oauth_authorization_code end |
#oauth_expire_in ⇒ Fixnum
The access token expiration time in seconds.
Corresponds to the JSON property oauthExpireIn
3072 3073 3074 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3072 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
3077 3078 3079 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3077 def profile_picture @profile_picture end |
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
Corresponds to the JSON property refreshToken
3082 3083 3084 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3082 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
3087 3088 3089 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3087 def registered @registered end |
#user_notifications ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserNotification>
Warning notifications for the user.
Corresponds to the JSON property userNotifications
3093 3094 3095 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3093 def user_notifications @user_notifications end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 3100 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 |