Struct google_identitytoolkit3::api::IdentitytoolkitRelyingpartyVerifyAssertionRequest[][src]

pub struct IdentitytoolkitRelyingpartyVerifyAssertionRequest {
    pub auto_create: Option<bool>,
    pub delegated_project_number: Option<String>,
    pub id_token: Option<String>,
    pub instance_id: Option<String>,
    pub pending_id_token: Option<String>,
    pub post_body: Option<String>,
    pub request_uri: Option<String>,
    pub return_idp_credential: Option<bool>,
    pub return_refresh_token: Option<bool>,
    pub return_secure_token: Option<bool>,
    pub session_id: Option<String>,
    pub tenant_id: Option<String>,
    pub tenant_project_number: Option<String>,
}

Request to verify 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).

Fields

auto_create: Option<bool>

When it’s true, automatically creates a new account if the user doesn’t exist. When it’s false, allows existing user to sign in normally and throws exception if the user doesn’t exist.

delegated_project_number: Option<String>

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.

id_token: Option<String>

The GITKit token of the authenticated user.

instance_id: Option<String>

Instance id token of the app.

pending_id_token: Option<String>

The GITKit token for the non-trusted IDP pending to be confirmed by the user.

post_body: Option<String>

The post body if the request is a HTTP POST.

request_uri: Option<String>

The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP.

return_idp_credential: Option<bool>

Whether return 200 and IDP credential rather than throw exception when federated id is already linked.

return_refresh_token: Option<bool>

Whether to return refresh tokens.

return_secure_token: Option<bool>

Whether return sts id token and refresh token instead of gitkit token.

session_id: Option<String>

Session ID, which should match the one in previous createAuthUri request.

tenant_id: Option<String>

For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.

tenant_project_number: Option<String>

Tenant project number to be used for idp discovery.

Trait Implementations

impl Clone for IdentitytoolkitRelyingpartyVerifyAssertionRequest[src]

impl Debug for IdentitytoolkitRelyingpartyVerifyAssertionRequest[src]

impl Default for IdentitytoolkitRelyingpartyVerifyAssertionRequest[src]

impl<'de> Deserialize<'de> for IdentitytoolkitRelyingpartyVerifyAssertionRequest[src]

impl RequestValue for IdentitytoolkitRelyingpartyVerifyAssertionRequest[src]

impl Serialize for IdentitytoolkitRelyingpartyVerifyAssertionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.