package
0.0.0-20250221084221-cda146333981
Repository: https://github.com/mendersoftware/go-lib-micro.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Generate identity information from given JWT by extracting subject and tenant claims.
ExtractJWTFromHeader inspect the Authorization header for a Bearer token and if not present looks for a "JWT" cookie.
FromContext extracts current identity from context.Context.
No description provided by the author
No description provided by the author
WithContext adds identity to context `ctx` and returns the resulting context.

# Structs

No description provided by the author
IdentityMiddleware adds the identity extracted from JWT token to the request's context.
No description provided by the author