You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
644 B

using System;
namespace Discord
{
/// <summary> Specifies the type of token to use with the client. </summary>
public enum TokenType
{
[Obsolete("User logins are deprecated and may result in a ToS strike against your account - please see https://github.com/RogueException/Discord.Net/issues/827", error: true)]
User,
/// <summary>
/// An OAuth2 token type.
/// </summary>
Bearer,
/// <summary>
/// A bot token type.
/// </summary>
Bot,
/// <summary>
/// A webhook token type.
/// </summary>
Webhook
}
}