Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ZtAPI string `json:"ztAPI"` ID identity.Config `json:"id"` ConfigTypes []string `json:"configTypes"` }
func NewFromFile ¶
type EnrollmentClaims ¶
type EnrollmentClaims struct { EnrollmentMethod string `json:"em"` SignatureCert *x509.Certificate `json:"-"` jwt.StandardClaims }
func (*EnrollmentClaims) EnrolmentUrl ¶
func (t *EnrollmentClaims) EnrolmentUrl() string
func (*EnrollmentClaims) ToMapClaims ¶
func (t *EnrollmentClaims) ToMapClaims() (jwt.MapClaims, error)
func (EnrollmentClaims) Valid ¶
func (t EnrollmentClaims) Valid() error
Click to show internal directories.
Click to hide internal directories.