Discord.https - v3.0.16
    Preparing search index...

    Interface RESTGetAPIOAuth2CurrentAuthorizationResult

    interface RESTGetAPIOAuth2CurrentAuthorizationResult {
        application: Partial<APIApplication>;
        expires: string;
        scopes: OAuth2Scopes[];
        user?: APIUser;
    }
    Index

    Properties

    application: Partial<APIApplication>

    the current application

    expires: string

    when the access token expires

    scopes: OAuth2Scopes[]

    the scopes the user has authorized the application for

    user?: APIUser

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