package
0.0.0-20221218120333-a376c7093645
Repository: https://github.com/satornetwork/sator-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ClaimsFactory is a ClaimsFactory that returns an empty Claims.
DeviceIDFromContext returns user current device id from request context.
No description provided by the author
NewInteractor is a factory function, returns a new instance of the JWT struct.
NewParser returns go-kit parser middleware.
RoleFromContext returns user role from request context.
TokenIDFromContext returns jwt id from request context.
TokenSubjectFromContext returns jwt subject from request context.
UserIDFromContext returns user uuid from request context.
UsernameFromContext returns username from request context.

# Constants

Predefined token types.
Predefined token types.

# Variables

Predefined errors of jwt wrapper package.
Predefined errors of jwt wrapper package.
Predefined errors of jwt wrapper package.
Predefined errors of jwt wrapper package.
Predefined errors of jwt wrapper package.
Predefined errors of jwt wrapper package.
Predefined errors of jwt wrapper package.

# Structs

Claims struct.
No description provided by the author