Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>GetCurrentAuthorizationInformation

A powerful and customizable framework for Discordeno
Latest
interface GetCurrentAuthorizationInformation
import { type GetCurrentAuthorizationInformation } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

application: Partial<Application>

The current application

scopes: OAuth2Scopes[]

The scopes the user has authorized the application for

expires: string

When the access token expires

optional
user: User

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