package
0.18.3
Repository: https://github.com/shellhub-io/shellhub.git
Documentation: pkg.go.dev

# Functions

ClaimsFromBearerToken decodes the provided bearer token into either [github.com/shellhub-io/shellhub/pkg/api/authorizer.UserClaims] or [github.com/shellhub-io/shellhub/pkg/api/authorizer.DeviceClaims].
EncodeDeviceClaims encodes the provided device claims into a signed JWT token.
EncodeUserClaims encodes the provided user claims into a signed JWT token.