@firebase/auth-types
Advanced tools
Comparing version 0.2.0-canary.5475383 to 0.2.0-canary.6991857
@@ -23,2 +23,3 @@ /** | ||
emailVerified: boolean; | ||
getIdTokenResult(forceRefresh?: boolean): Promise<IdTokenResult>; | ||
getIdToken(forceRefresh?: boolean): Promise<any>; | ||
@@ -164,2 +165,13 @@ getToken(forceRefresh?: boolean): Promise<any>; | ||
export interface IdTokenResult { | ||
token: string; | ||
expirationTime: string; | ||
authTime: string; | ||
issuedAtTime: string; | ||
signInProvider: string | null; | ||
claims: { | ||
[key: string]: any; | ||
}; | ||
} | ||
export class OAuthProvider implements AuthProvider { | ||
@@ -166,0 +178,0 @@ providerId: string; |
{ | ||
"name": "@firebase/auth-types", | ||
"version": "0.2.0-canary.5475383", | ||
"version": "0.2.0-canary.6991857", | ||
"description": "@firebase/auth Types", | ||
@@ -8,3 +8,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"scripts": { | ||
"test": "tsc" | ||
"test": "echo 'Types package, skipping tests'" | ||
}, | ||
@@ -15,7 +15,4 @@ "files": [ | ||
"peerDependencies": { | ||
"@firebase/app-types": "0.1.2-canary.5475383" | ||
"@firebase/app-types": "0.1.2-canary.6991857" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^2.7.2" | ||
}, | ||
"repository": { | ||
@@ -22,0 +19,0 @@ "type": "git", |
11227
0
305