pub struct VerifyPasswordResponse {
pub display_name: Option<String>,
pub email: Option<String>,
pub expires_in: Option<i64>,
pub id_token: Option<String>,
pub kind: Option<String>,
pub local_id: Option<String>,
pub oauth_access_token: Option<String>,
pub oauth_authorization_code: Option<String>,
pub oauth_expire_in: Option<i32>,
pub photo_url: Option<String>,
pub refresh_token: Option<String>,
pub registered: Option<bool>,
}Expand description
Request of verifying the password.
§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 password relyingparty (response)
Fields§
§display_name: Option<String>The name of the user.
email: Option<String>The email returned by the IdP. NOTE: The federated login user may not own the email.
expires_in: Option<i64>If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
id_token: Option<String>The GITKit token for authenticated user.
kind: Option<String>The fixed string “identitytoolkit#VerifyPasswordResponse”.
local_id: Option<String>The RP local ID if it’s already been mapped to the IdP account identified by the federated ID.
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.
photo_url: Option<String>The URI of the user’s photo at IdP
refresh_token: Option<String>If idToken is STS id token, then this field will be refresh token.
registered: Option<bool>Whether the email is registered.
Trait Implementations§
Source§impl Clone for VerifyPasswordResponse
impl Clone for VerifyPasswordResponse
Source§fn clone(&self) -> VerifyPasswordResponse
fn clone(&self) -> VerifyPasswordResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VerifyPasswordResponse
impl Debug for VerifyPasswordResponse
Source§impl Default for VerifyPasswordResponse
impl Default for VerifyPasswordResponse
Source§fn default() -> VerifyPasswordResponse
fn default() -> VerifyPasswordResponse
Source§impl<'de> Deserialize<'de> for VerifyPasswordResponse
impl<'de> Deserialize<'de> for VerifyPasswordResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for VerifyPasswordResponse
impl Serialize for VerifyPasswordResponse
impl ResponseResult for VerifyPasswordResponse
Auto Trait Implementations§
impl Freeze for VerifyPasswordResponse
impl RefUnwindSafe for VerifyPasswordResponse
impl Send for VerifyPasswordResponse
impl Sync for VerifyPasswordResponse
impl Unpin for VerifyPasswordResponse
impl UnwindSafe for VerifyPasswordResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more