Table of Contents

Constructor DiscordAccessToken

Namespace
DisCatSharp.Entities.OAuth2
Assembly
DisCatSharp.dll

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

Constructs a new DiscordAccessToken for usage with DiscordOAuth2Client.

public DiscordAccessToken(string accessToken, string tokenType, int expiresIn, string refreshToken, string scope)

Parameters

accessToken string

The access token.

tokenType string

The token type.

expiresIn int

When the token expires.

refreshToken string

The refresh token.

scope string

The scope(s).