#1 jwtauth
JWT authentication middleware for Go HTTP services
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html
Health score 96/100, confidence 100/100.
| Latest version | v5.3.1 |
| Imported by | 15.1K packages |
| Stars | 9.1K |
| Forks | 433 |
| Last activity | 2 days ago |
| Latest release | v5.3.1 (4 months ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| ClaimStrings | Type | type ClaimStrings []string |
| ClaimStrings.MarshalJSON | Method | func (s ClaimStrings) MarshalJSON() (b []byte, err error) |
| ClaimStrings.UnmarshalJSON | Method | func (s *ClaimStrings) UnmarshalJSON(data []byte) (err error) |
| Claims | Type | type Claims interface{ ... } |
| Claims.GetAudience | Method | GetAudience func() (ClaimStrings, error) |
| Claims.GetExpirationTime | Method | GetExpirationTime func() (*NumericDate, error) |
| Claims.GetIssuedAt | Method | GetIssuedAt func() (*NumericDate, error) |
| Claims.GetIssuer | Method | GetIssuer func() (string, error) |
| Claims.GetNotBefore | Method | GetNotBefore func() (*NumericDate, error) |
| Claims.GetSubject | Method | GetSubject func() (string, error) |
| ClaimsValidator | Type | type ClaimsValidator interface{ ... } |
| ClaimsValidator.Validate | Method | Validate func() error |
JWT authentication middleware for Go HTTP services
Open Source realtime backend in 1 file
Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.
Package jwt implements JSON Web Tokens as described in RFC 7519.
Simple, flexible, secure, and idiomatic web session management with pluggable backends.