Created
February 20, 2021 23:15
-
-
Save joaomantovani/9da776c227f5e424f5d918befc23a0b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by https://quicktype.io | |
// | |
// To change quicktype's target language, run command: | |
// | |
// "Set quicktype target language" | |
export type FirebaseUserUID = string; | |
export interface FirebaseAuthInterface { | |
uid: FirebaseUserUID; | |
displayName: string; | |
photoURL: string; | |
email: string; | |
emailVerified: boolean; | |
phoneNumber: null; | |
isAnonymous: boolean; | |
tenantId: null; | |
providerData: ProviderDatum[]; | |
apiKey: string; | |
appName: string; | |
authDomain: string; | |
stsTokenManager: StsTokenManager; | |
redirectEventId: null; | |
lastLoginAt: string; | |
createdAt: string; | |
multiFactor: MultiFactor; | |
} | |
export interface MultiFactor { | |
enrolledFactors: unknown[]; | |
} | |
export interface ProviderDatum { | |
uid: string; | |
displayName: string; | |
photoURL: string; | |
email: string; | |
phoneNumber: null; | |
providerId: string; | |
} | |
export type FirebaseAccessToken = string; | |
export interface StsTokenManager { | |
apiKey: string; | |
refreshToken: string; | |
accessToken: FirebaseAccessToken; | |
expirationTime: number; | |
} | |
export interface FirebaseLoginReqInterface { | |
accessToken: FirebaseAccessToken; | |
} | |
export interface FirebaseLoginResInterface { | |
accessToken: FirebaseAccessToken; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment