• Gets user data from Discord

    Parameters

    • options: discord.AuthOptions

      Options that's used when getting user data from Discord.

    • Optional client_secret: string

      Defaults to undefined, if you don't pass a client_secret API will use Wix Secret Manager to find client_secret named as DiscordClientSecret.

    • Optional access_token: string

      Defaults to undefined, if you don't pass a access_token API will get new one each time.

    Returns Promise<AuthResponse>

Generated using TypeDoc