Class: Google::Apis::IdentitytoolkitV3::VerifyAssertionResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::VerifyAssertionResponse
- 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
Response of verifying the IDP assertion.
Instance Attribute Summary collapse
-
#action ⇒ String
The action code.
-
#app_installation_url ⇒ String
URL for OTA app installation.
-
#app_scheme ⇒ String
The custom scheme used by mobile app.
-
#context ⇒ String
The opaque value used by the client to maintain context info between the authentication request and the IDP callback.
-
#date_of_birth ⇒ String
The birth date of the IdP account.
-
#display_name ⇒ String
The display name of the user.
-
#email ⇒ String
The email returned by the IdP.
-
#email_recycled ⇒ Boolean
(also: #email_recycled?)
It's true if the email is recycled.
-
#email_verified ⇒ Boolean
(also: #email_verified?)
The value is true if the IDP is also the email provider.
-
#error_message ⇒ String
Client error code.
-
#expires_in ⇒ String
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
-
#federated_id ⇒ String
The unique ID identifies the IdP account.
-
#first_name ⇒ String
The first name of the user.
-
#full_name ⇒ String
The full name of the user.
-
#id_token ⇒ String
The ID token.
-
#input_email ⇒ String
It's the identifier param in the createAuthUri request if the identifier is an email.
-
#kind ⇒ String
The fixed string "identitytoolkit#VerifyAssertionResponse".
-
#language ⇒ String
The language preference of the user.
-
#last_name ⇒ String
The last name of the user.
-
#local_id ⇒ String
The RP local ID if it's already been mapped to the IdP account identified by the federated ID.
-
#need_confirmation ⇒ Boolean
(also: #need_confirmation?)
Whether the assertion is from a non-trusted IDP and need account linking confirmation.
-
#need_email ⇒ Boolean
(also: #need_email?)
Whether need client to supply email to complete the federated login flow.
-
#nick_name ⇒ String
The nick name of the user.
-
#oauth_access_token ⇒ String
The OAuth2 access token.
-
#oauth_authorization_code ⇒ String
The OAuth2 authorization code.
-
#oauth_expire_in ⇒ Fixnum
The lifetime in seconds of the OAuth2 access token.
-
#oauth_id_token ⇒ String
The OIDC id token.
-
#oauth_request_token ⇒ String
The user approved request token for the OpenID OAuth extension.
-
#oauth_scope ⇒ String
The scope for the OpenID OAuth extension.
-
#oauth_token_secret ⇒ String
The OAuth1 access token secret.
-
#original_email ⇒ String
The original email stored in the mapping storage.
-
#photo_url ⇒ String
The URI of the public accessible profiel picture.
-
#provider_id ⇒ String
The IdP ID.
-
#raw_user_info ⇒ String
Raw IDP-returned user info.
-
#refresh_token ⇒ String
If idToken is STS id token, then this field will be refresh token.
-
#screen_name ⇒ String
The screen_name of a Twitter user.
-
#time_zone ⇒ String
The timezone of the user.
-
#verified_provider ⇒ Array<String>
When action is 'map', contains the idps which can be used for confirmation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyAssertionResponse
constructor
A new instance of VerifyAssertionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VerifyAssertionResponse
Returns a new instance of VerifyAssertionResponse.
1924 1925 1926 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The action code.
Corresponds to the JSON property action
1720 1721 1722 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1720 def action @action end |
#app_installation_url ⇒ String
URL for OTA app installation.
Corresponds to the JSON property appInstallationUrl
1725 1726 1727 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1725 def app_installation_url @app_installation_url end |
#app_scheme ⇒ String
The custom scheme used by mobile app.
Corresponds to the JSON property appScheme
1730 1731 1732 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1730 def app_scheme @app_scheme end |
#context ⇒ String
The opaque value used by the client to maintain context info between the
authentication request and the IDP callback.
Corresponds to the JSON property context
1736 1737 1738 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1736 def context @context end |
#date_of_birth ⇒ String
The birth date of the IdP account.
Corresponds to the JSON property dateOfBirth
1741 1742 1743 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1741 def date_of_birth @date_of_birth end |
#display_name ⇒ String
The display name of the user.
Corresponds to the JSON property displayName
1746 1747 1748 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1746 def display_name @display_name end |
#email ⇒ String
The email returned by the IdP. NOTE: The federated login user may not own the
email.
Corresponds to the JSON property email
1752 1753 1754 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1752 def email @email end |
#email_recycled ⇒ Boolean Also known as: email_recycled?
It's true if the email is recycled.
Corresponds to the JSON property emailRecycled
1757 1758 1759 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1757 def email_recycled @email_recycled end |
#email_verified ⇒ Boolean Also known as: email_verified?
The value is true if the IDP is also the email provider. It means the user
owns the email.
Corresponds to the JSON property emailVerified
1764 1765 1766 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1764 def email_verified @email_verified end |
#error_message ⇒ String
Client error code.
Corresponds to the JSON property errorMessage
1770 1771 1772 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1770 def @error_message end |
#expires_in ⇒ String
If idToken is STS id token, then this field will be expiration time of STS id
token in seconds.
Corresponds to the JSON property expiresIn
1776 1777 1778 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1776 def expires_in @expires_in end |
#federated_id ⇒ String
The unique ID identifies the IdP account.
Corresponds to the JSON property federatedId
1781 1782 1783 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1781 def federated_id @federated_id end |
#first_name ⇒ String
The first name of the user.
Corresponds to the JSON property firstName
1786 1787 1788 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1786 def first_name @first_name end |
#full_name ⇒ String
The full name of the user.
Corresponds to the JSON property fullName
1791 1792 1793 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1791 def full_name @full_name end |
#id_token ⇒ String
The ID token.
Corresponds to the JSON property idToken
1796 1797 1798 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1796 def id_token @id_token end |
#input_email ⇒ String
It's the identifier param in the createAuthUri request if the identifier is an
email. It can be used to check whether the user input email is different from
the asserted email.
Corresponds to the JSON property inputEmail
1803 1804 1805 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1803 def input_email @input_email end |
#kind ⇒ String
The fixed string "identitytoolkit#VerifyAssertionResponse".
Corresponds to the JSON property kind
1808 1809 1810 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1808 def kind @kind end |
#language ⇒ String
The language preference of the user.
Corresponds to the JSON property language
1813 1814 1815 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1813 def language @language end |
#last_name ⇒ String
The last name of the user.
Corresponds to the JSON property lastName
1818 1819 1820 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1818 def last_name @last_name end |
#local_id ⇒ String
The RP local ID if it's already been mapped to the IdP account identified by
the federated ID.
Corresponds to the JSON property localId
1824 1825 1826 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1824 def local_id @local_id end |
#need_confirmation ⇒ Boolean Also known as: need_confirmation?
Whether the assertion is from a non-trusted IDP and need account linking
confirmation.
Corresponds to the JSON property needConfirmation
1830 1831 1832 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1830 def need_confirmation @need_confirmation end |
#need_email ⇒ Boolean Also known as: need_email?
Whether need client to supply email to complete the federated login flow.
Corresponds to the JSON property needEmail
1836 1837 1838 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1836 def need_email @need_email end |
#nick_name ⇒ String
The nick name of the user.
Corresponds to the JSON property nickName
1842 1843 1844 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1842 def nick_name @nick_name end |
#oauth_access_token ⇒ String
The OAuth2 access token.
Corresponds to the JSON property oauthAccessToken
1847 1848 1849 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1847 def oauth_access_token @oauth_access_token end |
#oauth_authorization_code ⇒ String
The OAuth2 authorization code.
Corresponds to the JSON property oauthAuthorizationCode
1852 1853 1854 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1852 def @oauth_authorization_code end |
#oauth_expire_in ⇒ Fixnum
The lifetime in seconds of the OAuth2 access token.
Corresponds to the JSON property oauthExpireIn
1857 1858 1859 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1857 def oauth_expire_in @oauth_expire_in end |
#oauth_id_token ⇒ String
The OIDC id token.
Corresponds to the JSON property oauthIdToken
1862 1863 1864 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1862 def oauth_id_token @oauth_id_token end |
#oauth_request_token ⇒ String
The user approved request token for the OpenID OAuth extension.
Corresponds to the JSON property oauthRequestToken
1867 1868 1869 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1867 def oauth_request_token @oauth_request_token end |
#oauth_scope ⇒ String
The scope for the OpenID OAuth extension.
Corresponds to the JSON property oauthScope
1872 1873 1874 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1872 def oauth_scope @oauth_scope end |
#oauth_token_secret ⇒ String
The OAuth1 access token secret.
Corresponds to the JSON property oauthTokenSecret
1877 1878 1879 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1877 def oauth_token_secret @oauth_token_secret end |
#original_email ⇒ String
The original email stored in the mapping storage. It's returned when the
federated ID is associated to a different email.
Corresponds to the JSON property originalEmail
1883 1884 1885 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1883 def original_email @original_email end |
#photo_url ⇒ String
The URI of the public accessible profiel picture.
Corresponds to the JSON property photoUrl
1888 1889 1890 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1888 def photo_url @photo_url end |
#provider_id ⇒ String
The IdP ID. For white listed IdPs it's a short domain name e.g. google.com,
aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID OP
identifer other than the whilte listed IdPs the OP identifier is returned. If
the "identifier" param is federated ID in the createAuthUri request. The
domain part of the federated ID is returned.
Corresponds to the JSON property providerId
1897 1898 1899 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1897 def provider_id @provider_id end |
#raw_user_info ⇒ String
Raw IDP-returned user info.
Corresponds to the JSON property rawUserInfo
1902 1903 1904 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1902 def raw_user_info @raw_user_info end |
#refresh_token ⇒ String
If idToken is STS id token, then this field will be refresh token.
Corresponds to the JSON property refreshToken
1907 1908 1909 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1907 def refresh_token @refresh_token end |
#screen_name ⇒ String
The screen_name of a Twitter user.
Corresponds to the JSON property screenName
1912 1913 1914 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1912 def screen_name @screen_name end |
#time_zone ⇒ String
The timezone of the user.
Corresponds to the JSON property timeZone
1917 1918 1919 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1917 def time_zone @time_zone end |
#verified_provider ⇒ Array<String>
When action is 'map', contains the idps which can be used for confirmation.
Corresponds to the JSON property verifiedProvider
1922 1923 1924 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1922 def verified_provider @verified_provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1929 def update!(**args) @action = args[:action] if args.key?(:action) @app_installation_url = args[:app_installation_url] if args.key?(:app_installation_url) @app_scheme = args[:app_scheme] if args.key?(:app_scheme) @context = args[:context] if args.key?(:context) @date_of_birth = args[:date_of_birth] if args.key?(:date_of_birth) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @email_recycled = args[:email_recycled] if args.key?(:email_recycled) @email_verified = args[:email_verified] if args.key?(:email_verified) @error_message = args[:error_message] if args.key?(:error_message) @expires_in = args[:expires_in] if args.key?(:expires_in) @federated_id = args[:federated_id] if args.key?(:federated_id) @first_name = args[:first_name] if args.key?(:first_name) @full_name = args[:full_name] if args.key?(:full_name) @id_token = args[:id_token] if args.key?(:id_token) @input_email = args[:input_email] if args.key?(:input_email) @kind = args[:kind] if args.key?(:kind) @language = args[:language] if args.key?(:language) @last_name = args[:last_name] if args.key?(:last_name) @local_id = args[:local_id] if args.key?(:local_id) @need_confirmation = args[:need_confirmation] if args.key?(:need_confirmation) @need_email = args[:need_email] if args.key?(:need_email) @nick_name = args[:nick_name] if args.key?(:nick_name) @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) @oauth_id_token = args[:oauth_id_token] if args.key?(:oauth_id_token) @oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token) @oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope) @oauth_token_secret = args[:oauth_token_secret] if args.key?(:oauth_token_secret) @original_email = args[:original_email] if args.key?(:original_email) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_id = args[:provider_id] if args.key?(:provider_id) @raw_user_info = args[:raw_user_info] if args.key?(:raw_user_info) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) @screen_name = args[:screen_name] if args.key?(:screen_name) @time_zone = args[:time_zone] if args.key?(:time_zone) @verified_provider = args[:verified_provider] if args.key?(:verified_provider) end |