mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
d8e42744b4
* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
18 lines
306 B
Go
18 lines
306 B
Go
package domain
|
|
|
|
type OIDCCodeChallenge struct {
|
|
Challenge string
|
|
Method OIDCCodeChallengeMethod
|
|
}
|
|
|
|
func (c *OIDCCodeChallenge) IsValid() bool {
|
|
return c.Challenge != ""
|
|
}
|
|
|
|
type OIDCCodeChallengeMethod int32
|
|
|
|
const (
|
|
CodeChallengeMethodPlain OIDCCodeChallengeMethod = iota
|
|
CodeChallengeMethodS256
|
|
)
|