DiscordPHP Documentation

OAuth

Table of Contents

Classes

Authorization
What a user has authorised an application to do with their OAuth2 token: the application, the scopes granted, when the token expires, and the user, when the token has the `identify` scope.
UserInfo
A user as OpenID Connect describes them, from Discord's user info endpoint. It needs a token with the `openid` scope; the email claims also need the `email` scope.
On this page

Search results