mirror of
https://github.com/wassname/talk.git
synced 2026-07-22 13:00:29 +08:00
feat: added google support
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user