/auth
Search
K
Comment on page

getInfo( )

getInfo is a function to return public information about the current SlashAuth app.

Usage

const { data } = await client.app.getInfo();
console.log(data)

Return Value

{
data?: {
clientID: string;
name: string;
description?: string;
};
error: ErrorMessage | null;
headers: Object;
statusCode: number;
}