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
commit
0b13e0efa1
1 changed files with 10 additions and 1 deletions
  1. +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> /// <summary>
/// A webhook token type. /// A webhook token type.
/// </summary> /// </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

} }
} }

Loading…
Cancel
Save