class

Authly::Social::Discord

Inherits Authly::Social::Provider < Reference < Object

Constants

AUTHORIZE_URL = "https://discord.com/api/oauth2/authorize"
TOKEN_URL = "https://discord.com/api/oauth2/token"
USERINFO_URL = "https://discord.com/api/users/@me"

Constructors

new(client_id : String, client_secret : String, redirect_uri : String, scopes : Array(String) = ["identify", "email"], name : String = "discord")
Source

Instance methods

authorize_endpoint
Source
token_endpoint
Source
userinfo_endpoint
Source