Struct google_identitytoolkit3::api::VerifyAssertionResponse [−][src]
Response of verifying the IDP assertion.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- verify assertion relyingparty (response)
Fields
action: Option<String>
The action code.
app_installation_url: Option<String>
URL for OTA app installation.
app_scheme: Option<String>
The custom scheme used by mobile app.
context: Option<String>
The opaque value used by the client to maintain context info between the authentication request and the IDP callback.
date_of_birth: Option<String>
The birth date of the IdP account.
display_name: Option<String>
The display name of the user.
email: Option<String>
The email returned by the IdP. NOTE: The federated login user may not own the email.
email_recycled: Option<bool>
It’s true if the email is recycled.
email_verified: Option<bool>
The value is true if the IDP is also the email provider. It means the user owns the email.
error_message: Option<String>
Client error code.
expires_in: Option<String>
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
federated_id: Option<String>
The unique ID identifies the IdP account.
first_name: Option<String>
The first name of the user.
full_name: Option<String>
The full name of the user.
id_token: Option<String>
The ID token.
input_email: Option<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.
is_new_user: Option<bool>
True if it’s a new user sign-in, false if it’s a returning user.
kind: Option<String>
The fixed string “identitytoolkit#VerifyAssertionResponse”.
language: Option<String>
The language preference of the user.
last_name: Option<String>
The last name of the user.
local_id: Option<String>
The RP local ID if it’s already been mapped to the IdP account identified by the federated ID.
need_confirmation: Option<bool>
Whether the assertion is from a non-trusted IDP and need account linking confirmation.
need_email: Option<bool>
Whether need client to supply email to complete the federated login flow.
nick_name: Option<String>
The nick name of the user.
oauth_access_token: Option<String>
The OAuth2 access token.
The OAuth2 authorization code.
oauth_expire_in: Option<i32>
The lifetime in seconds of the OAuth2 access token.
oauth_id_token: Option<String>
The OIDC id token.
oauth_request_token: Option<String>
The user approved request token for the OpenID OAuth extension.
oauth_scope: Option<String>
The scope for the OpenID OAuth extension.
oauth_token_secret: Option<String>
The OAuth1 access token secret.
original_email: Option<String>
The original email stored in the mapping storage. It’s returned when the federated ID is associated to a different email.
photo_url: Option<String>
The URI of the public accessible profiel picture.
provider_id: Option<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.
raw_user_info: Option<String>
Raw IDP-returned user info.
refresh_token: Option<String>
If idToken is STS id token, then this field will be refresh token.
screen_name: Option<String>
The screen_name of a Twitter user or the login name at Github.
time_zone: Option<String>
The timezone of the user.
verified_provider: Option<Vec<String>>
When action is ‘map’, contains the idps which can be used for confirmation.
Trait Implementations
impl Clone for VerifyAssertionResponse
[src]
fn clone(&self) -> VerifyAssertionResponse
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VerifyAssertionResponse
[src]
impl Default for VerifyAssertionResponse
[src]
fn default() -> VerifyAssertionResponse
[src]
impl<'de> Deserialize<'de> for VerifyAssertionResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ResponseResult for VerifyAssertionResponse
[src]
impl Serialize for VerifyAssertionResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for VerifyAssertionResponse
impl Send for VerifyAssertionResponse
impl Sync for VerifyAssertionResponse
impl Unpin for VerifyAssertionResponse
impl UnwindSafe for VerifyAssertionResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,