Skip to main content
Module

x/discord_api_types/v10.ts>RESTGetAPIOAuth2CurrentAuthorizationResult

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTGetAPIOAuth2CurrentAuthorizationResult
import { type RESTGetAPIOAuth2CurrentAuthorizationResult } from "https://deno.land/x/discord_api_types@0.37.11/v10.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