mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-17 10:55:12 +00:00
fix: all enums same style (#262)
* fix: all enums same style * fix: rename process to reduce * add some missing enum renaming Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
@@ -61,11 +61,11 @@ func (c *Client) AccessTokenType() op.AccessTokenType {
|
||||
|
||||
func authMethodToOIDC(authType model.OIDCAuthMethodType) op.AuthMethod {
|
||||
switch authType {
|
||||
case model.OIDCAUTHMETHODTYPE_BASIC:
|
||||
case model.OIDCAuthMethodTypeBasic:
|
||||
return op.AuthMethodBasic
|
||||
case model.OIDCAUTHMETHODTYPE_POST:
|
||||
case model.OIDCAuthMethodTypePost:
|
||||
return op.AuthMethodPost
|
||||
case model.OIDCAUTHMETHODTYPE_NONE:
|
||||
case model.OIDCAuthMethodTypeNone:
|
||||
return op.AuthMethodNone
|
||||
default:
|
||||
return op.AuthMethodBasic
|
||||
|
||||
Reference in New Issue
Block a user