pub struct FirebaseTokenPayload {
pub exp: i64,
pub iat: i64,
pub aud: String,
pub iss: String,
pub sub: String,
pub auth_time: i64,
}Expand description
Represents the payload of a Firebase ID token as specified in the documentation
Fields§
§exp: i64Expiration time (in seconds since UNIX epoch)
iat: i64Issued at time (in seconds since UNIX epoch)
aud: StringAudience (must be your Firebase project ID)
iss: StringIssuer (must be “https://securetoken.google.com/
sub: StringSubject (must be the uid of the user or device)
auth_time: i64Authentication time (must be in the past)
Trait Implementations§
Source§impl Debug for FirebaseTokenPayload
impl Debug for FirebaseTokenPayload
Source§impl<'de> Deserialize<'de> for FirebaseTokenPayload
impl<'de> Deserialize<'de> for FirebaseTokenPayload
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FirebaseTokenPayload
impl RefUnwindSafe for FirebaseTokenPayload
impl Send for FirebaseTokenPayload
impl Sync for FirebaseTokenPayload
impl Unpin for FirebaseTokenPayload
impl UnwindSafe for FirebaseTokenPayload
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
Mutably borrows from an owned value. Read more