Firebase: Generic Github, Twitter and Facebook authentication providers (#8870)

* Firebase: Generic Github, Twitter and Facebook authentication providers

* Firebase: Authentication definitions for Email and Password, Twitter, Github, Facebook and Anonymous
This commit is contained in:
Felipe Lima
2016-04-12 09:51:05 -03:00
committed by Masahiro Wakame
parent 2712dd1e88
commit 73fa26213a

View File

@@ -334,6 +334,46 @@ interface FirebaseAuthData {
expires: number;
auth: Object;
google?: FirebaseAuthDataGoogle;
twitter?: FirebaseAuthDataTwitter;
github?: FirebaseAuthDataGithub;
facebook?: FirebaseAuthDataFacebook;
password?: FirebaseAuthDataPassword;
anonymous?: any;
}
interface FirebaseAuthDataPassword{
email: string;
isTemporaryPassword: boolean;
profileImageURL: string;
}
interface FirebaseAuthDataTwitter{
id: string;
accessToken: string;
accessTokenSecret: string;
displayName: string;
username: string;
profileImageURL: string;
cachedUserProfile: any;
}
interface FirebaseAuthDataGithub{
id: string;
accessToken: string;
displayName: string;
email?: string;
username: string;
profileImageURL: string;
cachedUserProfile: any;
}
interface FirebaseAuthDataFacebook{
id: string;
accessToken: string;
displayName: string;
email?: string;
profileImageURL: string;
cachedUserProfile: any;
}
interface FirebaseAuthDataGoogle {