# 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.