Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶ added in v1.7.0
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶ added in v1.7.0
func NewValidator(cfg ValidatorConfig, opts ...ValidatorOption) (*Validator, error)
type ValidatorConfig ¶ added in v1.7.0
type ValidatorConfig struct { ClientID string `split_words:"true" required:"true"` ConnectionURL string `split_words:"true" required:"true"` Issuer string `split_words:"true" required:"false"` // Optional Skip Checks SkipClientIDCheck bool `split_words:"true" default:"false"` SkipExpiryCheck bool `split_words:"true" default:"false"` SkipIssuerCheck bool `split_words:"true" default:"false"` }
type ValidatorOption ¶ added in v1.7.0
type ValidatorOption func(validator *Validator)
func JWTClientValidatorOpt ¶ added in v1.7.0
func JWTClientValidatorOpt(signingKey string) ValidatorOption
Click to show internal directories.
Click to hide internal directories.