This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
added 2 token types: refresh and code. Refresh is a refresh token, code is the code given by discord authorization code flow.
pull/1806/head
emorell96
4 years ago
parent
c242d81af9
commit
0b13e0efa1
1 changed files
with
10 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-1
src/Discord.Net.Core/TokenType.cs
+ 10
- 1
src/Discord.Net.Core/TokenType.cs
View File
@@ -18,6 +18,15 @@ namespace Discord
/// <summary>
/// A webhook token type.
/// </summary>
Webhook
Webhook,
///<summary>
/// A refresh token used to get a new access token.
/// </summary>
Refresh,
///<summary>
/// The code used to get a Token through Oauth2
/// </summary>
Code
}
}
Write
Preview
Loading…
Cancel
Save