add Token authentication support
Added CRUD methods for Tokens. Extend Auth Handler to check for the presence of a Bearer Authorization header to authenticate against. If there is no header, or the token is not valid, the Auth Handler falls back to looking for a Session.
Showing
pkg/api/token.go
0 → 100644
pkg/models/token.go
0 → 100644
pkg/stores/sqlstore/tokens.go
0 → 100644
Please
register
or
sign in
to comment