Table of Contents

Class DiscordAccessToken

Namespace
DisCatSharp.Entities.OAuth2
Assembly
DisCatSharp.dll

Represents a DiscordAccessToken.

public sealed class DiscordAccessToken : ObservableApiObject
Inheritance
DiscordAccessToken
Inherited Members

Constructors

DiscordAccessToken(string, string, int, string, string)

Constructs a new DiscordAccessToken for usage with DiscordOAuth2Client.

Properties

AccessToken

Gets the access token.

ExpiresIn

Gets when the token expires.

RefreshToken

Gets the refresh token.

Scope

Gets the scope.

TokenType

Gets the token type.

Methods

FromJson(string)

Generates a new DiscordAccessToken from json.