- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for clientMod (0.19 sec)
-
security/pkg/k8s/configutil_test.go
} kc := kube.NewFakeClient(objs...) fake := kc.Kube().(*fake.Clientset) configmaps := kclient.New[*v1.ConfigMap](kc) if tc.clientMod != nil { tc.clientMod(fake) } kc.RunAndWait(test.NewStop(t)) fake.ClearActions() err := InsertDataToConfigMap(configmaps, tc.meta, tc.caBundle) if err != nil && err.Error() != tc.expectedErr {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
private final Moshi moshi; public final String clientId; public final String clientSecret; public final int port; public SlackApi(String clientId, String clientSecret, int port) { this.httpClient = new OkHttpClient.Builder() .build(); this.moshi = new Moshi.Builder() .add(new SlackJsonAdapters()) .build(); this.clientId = clientId; this.clientSecret = clientSecret;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
docs/sts/web-identity.go
var buf bytes.Buffer buf.WriteString(c.Endpoint.AuthURL) v := url.Values{ "response_type": {"id_token"}, "response_mode": {"form_post"}, "client_id": {c.ClientID}, } if c.RedirectURL != "" { v.Set("redirect_uri", c.RedirectURL) } if len(c.Scopes) > 0 { v.Set("scope", strings.Join(c.Scopes, " ")) } v.Set("state", state) v.Set("nonce", state)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
return ErrNotImplemented } // LoginWithClientID is implemented by Keycloak service account support func (k *KeycloakProvider) LoginWithClientID(clientID, clientSecret string) error { values := url.Values{} values.Set("client_id", clientID) values.Set("client_secret", clientSecret) values.Set("grant_type", "client_credentials")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 29 01:27:09 UTC 2022 - 4.6K bytes - Viewed (0) -
internal/config/identity/openid/jwt.go
} if err = r.updateUserinfoClaims(ctx, arn, accessToken, mclaims); err != nil { return err } // Validate that matching clientID appears in the aud or azp claims. // REQUIRED. Audience(s) that this ID Token is intended for. // It MUST contain the OAuth 2.0 client_id of the Relying Party // as an audience value. It MAY also contain identifiers for // other audiences. In the general case, the aud value is an
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 18:10:41 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/config/identity/openid/openid.go
RolePolicy: provCfg.RolePolicy, ClientID: provCfg.ClientID, HashedClientSecret: hashedSecret, } } else { res.ClaimProvider = madmin.OpenIDProviderSettings{ ClaimUserinfoEnabled: provCfg.ClaimUserinfo, RolePolicy: provCfg.RolePolicy, ClientID: provCfg.ClientID, HashedClientSecret: hashedSecret, } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 16.5K bytes - Viewed (0) -
tests/test_enforce_once_required_parameter.py
from fastapi.testclient import TestClient app = FastAPI() def _get_client_key(client_id: str = Query(...)) -> str: return f"{client_id}_key" def _get_client_tag(client_id: Optional[str] = Query(None)) -> Optional[str]: if client_id is None: return None return f"{client_id}_tag" @app.get("/foo") def foo_handler( client_key: str = Depends(_get_client_key),
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.4K bytes - Viewed (0) -
internal/event/target/mqtt.go
func (target *MQTTTarget) initMQTT() error { args := target.args // Using hex here, to make sure we avoid 23 // character limit on client_id according to // MQTT spec. clientID := fmt.Sprintf("%x", time.Now().UnixNano()) options := mqtt.NewClientOptions(). SetClientID(clientID). SetCleanSession(true). SetUsername(args.User). SetPassword(args.Password). SetMaxReconnectInterval(args.MaxReconnectInterval).
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/client_config.go
*/ package genericclioptions import ( restclient "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) var ( // ErrEmptyConfig is the error message to be displayed if the configuration info is missing or incomplete ErrEmptyConfig = clientcmd.NewEmptyConfigError(`Missing or incomplete configuration info. Please point to an existing, complete config file:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 13 10:28:09 UTC 2021 - 2.3K bytes - Viewed (0) -
pkg/kube/client_config.go
// limitations under the License. package kube import ( "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" "k8s.io/client-go/tools/clientcmd/api" ) const ( contextName = "context0" clusterName = "cluster0" authInfoName = "authInfo0" ) var _ clientcmd.ClientConfig = &clientConfig{} // clientConfig is a utility that allows construction of a k8s ClientConfig from // a k8s rest.Config
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 17 16:52:06 UTC 2020 - 3.1K bytes - Viewed (0)