Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/v1/types_authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ type UsernameClaimMapping struct {
// +enum
type UsernamePrefixPolicy string

var (
const (
// NoOpinion let's the cluster assign prefixes. If the username claim is email, there is no prefix
// If the username claim is anything else, it is prefixed by the issuerURL
NoOpinion UsernamePrefixPolicy = ""
Expand Down Expand Up @@ -723,7 +723,7 @@ type PrefixedClaimMapping struct {
type TokenValidationRuleType string

const (
TokenValidationRuleTypeRequiredClaim = "RequiredClaim"
TokenValidationRuleTypeRequiredClaim TokenValidationRuleType = "RequiredClaim"
)

type TokenClaimValidationRule struct {
Expand Down