Route Name | URI | Description | Action | Method |
---|---|---|---|---|
login | /login | Redirects the user to Discord's OAuth2 authorization page. | REDIRECT | GET |
logout | /logout | Invalidates the current session. | AuthenticatedSessionController@destroy | POST |
larascord.login | /larascord/callback | Callback route for Discord OAuth2 authentication. | DiscordController@handle | GET |
larascord.refresh_token | /larascord/refresh-token | Redirects to the login page. (Used to access secure parts of the application through the middleware password.confirm .) | REDIRECT | GET |