feat: added google support

This commit is contained in:
Wyatt Johnson
2018-10-29 17:36:15 -06:00
parent 58e51b299d
commit 93b91a0573
9 changed files with 207 additions and 22 deletions
+11 -1
View File
@@ -37,7 +37,17 @@ export interface FacebookProfile {
id: string;
}
export type Profile = LocalProfile | OIDCProfile | SSOProfile | FacebookProfile;
export interface GoogleProfile {
type: "google";
id: string;
}
export type Profile =
| LocalProfile
| OIDCProfile
| SSOProfile
| FacebookProfile
| GoogleProfile;
export interface Token {
readonly id: string;