mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-07 14:00:12 +01:00
16 lines
274 B
Go
16 lines
274 B
Go
package jwtclaims
|
|
|
|
import (
|
|
"github.com/golang-jwt/jwt"
|
|
)
|
|
|
|
// AuthorizationClaims stores authorization information from JWTs
|
|
type AuthorizationClaims struct {
|
|
UserId string
|
|
AccountId string
|
|
Domain string
|
|
DomainCategory string
|
|
|
|
Raw jwt.MapClaims
|
|
}
|