Table of Contents

Method RefreshAccessTokenAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

RefreshAccessTokenAsync(DiscordAccessToken)

Exchanges a refresh token for a new discord access token.

public Task<DiscordAccessToken> RefreshAccessTokenAsync(DiscordAccessToken accessToken)

Parameters

accessToken DiscordAccessToken

The current discord access token.

Returns

Task<DiscordAccessToken>