Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denocordts/src/types/mod.ts>RESTGetAPIOAuth2CurrentAuthorizationResult

An Object Oriented Discord API wrapper for Deno.
Latest
interface RESTGetAPIOAuth2CurrentAuthorizationResult
import { type RESTGetAPIOAuth2CurrentAuthorizationResult } from "https://deno.land/x/denocordts@1.2.0/src/types/mod.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