mygithub.libinneed.workers.dev/stackitcloud/stackit-cli
Advanced tools
+1
-1
@@ -21,3 +21,3 @@ module github.com/stackitcloud/stackit-cli | ||
| github.com/stackitcloud/stackit-sdk-go/services/dns v0.10.0 | ||
| github.com/stackitcloud/stackit-sdk-go/services/iaas v0.7.0 | ||
| github.com/stackitcloud/stackit-sdk-go/services/iaas v0.8.0 | ||
| github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v0.14.0 | ||
@@ -24,0 +24,0 @@ github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.16.0 |
+2
-2
@@ -132,4 +132,4 @@ github.com/alessio/shellescape v1.4.2 h1:MHPfaU+ddJ0/bYWpgIeUnQUqKrlJ1S7BfEYPM4uEoM0= | ||
| github.com/stackitcloud/stackit-sdk-go/services/dns v0.10.0/go.mod h1:MdZcRbs19s2NLeJmSLSoqTzm9IPIQhE1ZEMpo9gePq0= | ||
| github.com/stackitcloud/stackit-sdk-go/services/iaas v0.7.0 h1:BnDF0RSW+gN2/AxC5TAkNMzVPGsbnCrURj755so6EBY= | ||
| github.com/stackitcloud/stackit-sdk-go/services/iaas v0.7.0/go.mod h1:XtJA9FMK/yJ0dj4HtRAogmZPRUsZiFcuwUSfHYNASjo= | ||
| github.com/stackitcloud/stackit-sdk-go/services/iaas v0.8.0 h1:RPqCcepRpm4c2POVuq+W41UwhXEfSRQAM696evHIOlQ= | ||
| github.com/stackitcloud/stackit-sdk-go/services/iaas v0.8.0/go.mod h1:XtJA9FMK/yJ0dj4HtRAogmZPRUsZiFcuwUSfHYNASjo= | ||
| github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v0.14.0 h1:/GwkGMD7ID5hSjdZs1l/Mj8waceCt7oj3TxHgBfEMDQ= | ||
@@ -136,0 +136,0 @@ github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v0.14.0/go.mod h1:wsO3+vXe1XiKLeCIctWAptaHQZ07Un7kmLTQ+drbj7w= |
@@ -73,3 +73,2 @@ package auth | ||
| tokenEndpoint string | ||
| jwksEndpoint string | ||
| isValid bool | ||
@@ -106,3 +105,2 @@ expectedCustomAuthSet bool | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: true, | ||
@@ -120,3 +118,2 @@ expectedCustomAuthSet: true, | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: false, | ||
@@ -186,3 +183,2 @@ }, | ||
| authFields[TOKEN_CUSTOM_ENDPOINT] = tt.tokenEndpoint | ||
| authFields[JWKS_CUSTOM_ENDPOINT] = tt.jwksEndpoint | ||
@@ -252,3 +248,2 @@ err = SetAuthFlow(tt.flow) | ||
| tokenEndpoint string | ||
| jwksEndpoint string | ||
| isValid bool | ||
@@ -263,3 +258,2 @@ }{ | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: true, | ||
@@ -274,3 +268,2 @@ }, | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: false, | ||
@@ -285,3 +278,2 @@ }, | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: false, | ||
@@ -296,3 +288,2 @@ }, | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: false, | ||
@@ -307,3 +298,2 @@ }, | ||
| tokenEndpoint: "token_url", | ||
| jwksEndpoint: "jwks_url", | ||
| isValid: false, | ||
@@ -339,3 +329,2 @@ }, | ||
| authFields[TOKEN_CUSTOM_ENDPOINT] = tt.tokenEndpoint | ||
| authFields[JWKS_CUSTOM_ENDPOINT] = tt.jwksEndpoint | ||
| err = SetAuthFieldMap(authFields) | ||
@@ -342,0 +331,0 @@ if err != nil { |
@@ -105,3 +105,2 @@ package auth | ||
| TOKEN_CUSTOM_ENDPOINT: "", | ||
| JWKS_CUSTOM_ENDPOINT: "", | ||
| } | ||
@@ -108,0 +107,0 @@ err := GetAuthFieldMap(authFields) |
@@ -40,3 +40,2 @@ package auth | ||
| TOKEN_CUSTOM_ENDPOINT authFieldKey = "token_custom_endpoint" | ||
| JWKS_CUSTOM_ENDPOINT authFieldKey = "jwks_custom_endpoint" | ||
| ) | ||
@@ -62,3 +61,2 @@ | ||
| TOKEN_CUSTOM_ENDPOINT, | ||
| JWKS_CUSTOM_ENDPOINT, | ||
| authFlowType, | ||
@@ -65,0 +63,0 @@ } |