External module "helpers/google"
Functions
Const googleCreateConnection
- googleCreateConnection(): OAuth2Client
-
Returns OAuth2Client
Const googleGetConnectionUrl
- googleGetConnectionUrl(): string
-
Returns string
Const googleGetEmailFromToken
- googleGetEmailFromToken(data: GetTokenResponse): Promise<string>
-
Parameters
Returns Promise<string>
Const googleGetTokensFromCode
- googleGetTokensFromCode(code: string): Promise<GetTokenResponse>
-
Parameters
Returns Promise<GetTokenResponse>
Create a new OAuth connection with Google