Skip to main content
Module

x/discord_api_types/v8.ts>RESTGetAPIOAuth2CurrentAuthorizationResult

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTGetAPIOAuth2CurrentAuthorizationResult
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type RESTGetAPIOAuth2CurrentAuthorizationResult } from "https://deno.land/x/discord_api_types@0.37.21/v8.ts";

Properties

application: Partial<APIApplication>

the current application

scopes: OAuth2Scopes[]

the scopes the user has authorized the application for

expires: string

when the access token expires

optional
user: APIUser

the user who has authorized, if the user has authorized with the identify scope