Methods
getAuthorizeUrl
- getAuthorizeUrl(redirectUrl: string): string | Promise<string>
-
Returns string | Promise<string>
getUserInfo
- getUserInfo(code: string, state: string): Promise<T>
-
Parameters
-
code: string
-
state: string
Returns Promise<T>
Optional
onSuccess
- onSuccess(user: User): any
-
Returns any