pub struct IdentitytoolkitRelyingpartyVerifyAssertionRequest {Show 13 fields
pub auto_create: Option<bool>,
pub delegated_project_number: Option<i64>,
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<u64>,
}
Expand description
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).
- verify assertion relyingparty (request)
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<i64>
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<u64>
Tenant project number to be used for idp discovery.
Trait Implementations§
source§impl Clone for IdentitytoolkitRelyingpartyVerifyAssertionRequest
impl Clone for IdentitytoolkitRelyingpartyVerifyAssertionRequest
source§fn clone(&self) -> IdentitytoolkitRelyingpartyVerifyAssertionRequest
fn clone(&self) -> IdentitytoolkitRelyingpartyVerifyAssertionRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more