Interface: OAuthResult
Properties
accessToken
• accessToken: string
Defined in
hub/src/lib/oauth-handle-redirect.ts:5
accessTokenExpiresAt
• accessTokenExpiresAt: Date
Defined in
hub/src/lib/oauth-handle-redirect.ts:6
scope
• scope: string
Granted scope
Defined in
hub/src/lib/oauth-handle-redirect.ts:33
state
• Optional
state: string
State passed to the OAuth provider in the original request to the OAuth provider.
Defined in
hub/src/lib/oauth-handle-redirect.ts:29
userInfo
• userInfo: Object
Type declaration
Name | Type |
---|---|
avatarUrl | string |
canPay? | boolean |
email? | string |
emailVerified? | boolean |
fullname | string |
id | string |
isPro | boolean |
name | string |
orgs | { avatarUrl : string ; canPay? : boolean ; id : string ; isEnterprise : boolean ; name : string ; roleInOrg? : string }[] |
websiteUrl? | string |
Defined in
hub/src/lib/oauth-handle-redirect.ts:7
< > Update on GitHub