feat: Create authorization
This commit is contained in:
@@ -19,9 +19,16 @@ POST /joinGame/:gameId controllers.MainMenuController.joinGame(gam
|
||||
|
||||
# User authentication routes
|
||||
POST /login controllers.UserController.login_Post()
|
||||
POST /register controllers.UserController.register()
|
||||
POST /logout controllers.UserController.logoutPost()
|
||||
GET /userInfo controllers.UserController.getUserInfo()
|
||||
|
||||
# OpenID Connect routes
|
||||
GET /auth/:provider controllers.OpenIDController.loginWithProvider(provider: String)
|
||||
GET /auth/:provider/callback controllers.OpenIDController.callback(provider: String)
|
||||
GET /select-username controllers.OpenIDController.selectUsername()
|
||||
POST /submit-username controllers.OpenIDController.submitUsername()
|
||||
|
||||
# In-game routes
|
||||
GET /game/:id controllers.IngameController.game(id: String)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user