Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthTokenValidator ¶
type TokenValidator ¶ added in v0.49.0
type TokenValidator struct { AuthService iam.OAuth20Service RefreshInterval time.Duration Filter *bloom.Filter JwkSet *iamclientmodels.OauthcommonJWKSet JwtClaims iam.JWTClaims JwtEncoding base64.Encoding LocalValidationActive bool PublicKeys map[string]*rsa.PublicKey RevokedUsers map[string]time.Time Roles map[string]*iamclientmodels.ModelRoleResponseV3 // contains filtered or unexported fields }
func (*TokenValidator) Initialize ¶ added in v0.49.0
func (v *TokenValidator) Initialize()
func (*TokenValidator) Validate ¶ added in v0.49.0
func (v *TokenValidator) Validate(token string, permission *iam.Permission, namespace *string, userId *string) error
Click to show internal directories.
Click to hide internal directories.