mise en place du refresh token

This commit is contained in:
2021-02-06 22:44:01 +01:00
parent 6041afc4f6
commit 737fb71694
3 changed files with 21 additions and 3 deletions

View File

@@ -6,5 +6,6 @@ func (s *server) routes() {
s.router.HandleFunc("/local", s.handleLocal()).Methods("POST")
s.router.HandleFunc("/oauth20", s.handleOAuth20()).Methods("POST")
s.router.HandleFunc("/jwt", s.handleJSONWebToken()).Methods("GET")
s.router.HandleFunc("/oauth/refresh/{id}", s.handleRefreshToken()).Methods("POST")
}