netbird/management/server/jwtclaims/claims.go

19 lines
309 B
Go
Raw Normal View History

package jwtclaims
import (
"time"
"github.com/golang-jwt/jwt"
)
// AuthorizationClaims stores authorization information from JWTs
type AuthorizationClaims struct {
UserId string
AccountId string
Domain string
DomainCategory string
LastLogin time.Time
Raw jwt.MapClaims
}