#1 pocketbase
Open Source realtime backend in 1 file
Health score 50/100, confidence 75/100.
| Latest version | v1.2.0 |
| Imported by | 697 packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 5 years ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| JWTAuth | Type | type JWTAuth struct{} |
| JWTAuth.Decode | Method | func (ja *JWTAuth) Decode(tokenString string) (jwt.Token, error) |
| JWTAuth.Encode | Method | func (ja *JWTAuth) Encode(claims map[string]interface{}) (t jwt.Token, tokenString string, err error) |
| New | Function | func New(alg string, signKey interface{}, verifyKey interface{}) *JWTAuth |
| Authenticator | Function | func Authenticator(next http.Handler) http.Handler |
| EpochNow | Function | func EpochNow() int64 |
| ErrAlgoInvalid | Variable | var ErrAlgoInvalid = errors.New("algorithm mismatch") |
| ErrExpired | Variable | var ErrExpired = errors.New("token is expired") |
| ErrIATInvalid | Variable | var ErrIATInvalid = errors.New("token iat validation failed") |
| ErrNBFInvalid | Variable | var ErrNBFInvalid = errors.New("token nbf validation failed") |
| ErrNoTokenFound | Variable | var ErrNoTokenFound = errors.New("no token found") |
| ErrUnauthorized | Variable | var ErrUnauthorized = errors.New("token is unauthorized") |
Open Source realtime backend in 1 file
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html
Open Source realtime backend in 1 file
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html See README.md for more info.
JWT middleware for Golang http servers with many configuration options.
Simple, flexible, secure, and idiomatic web session management with pluggable backends.