Implements auth by token & cookie
To test and demonstrate, the handler userinfo was also implemented
Showing
- auth/auth.go 26 additions, 3 deletionsauth/auth.go
- models/userinfo.go 3 additions, 0 deletionsmodels/userinfo.go
- restapi/configure_rednerd.go 9 additions, 7 deletionsrestapi/configure_rednerd.go
- restapi/embedded_spec.go 6 additions, 0 deletionsrestapi/embedded_spec.go
- restapi/handlers/auth-userinfo.go 70 additions, 0 deletionsrestapi/handlers/auth-userinfo.go
- swagger.yaml 2 additions, 0 deletionsswagger.yaml
Loading
Please register or sign in to comment