- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 440 for toTokens (0.46 sec)
-
internal/config/lambda/target/webhook.go
if err != nil { if xnet.IsNetworkOrHostDown(err, false) { return false, errNotConnected } return false, err } tokens := strings.Fields(target.args.AuthToken) switch len(tokens) { case 2: req.Header.Set("Authorization", target.args.AuthToken) case 1: req.Header.Set("Authorization", "Bearer "+target.args.AuthToken) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.7K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc.go
Aud []string `json:"aud"` // Exp is not currently used - we don't use the token for authn, just to determine k8s settings Exp int `json:"exp"` // Issuer - configured by K8S admin for projected tokens. Will be used to verify all tokens. Iss string `json:"iss"` Sub string `json:"sub"` } func (j JwtAuthenticator) AuthenticatorType() string { return IDTokenAuthenticatorType
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/iam/identity-manager-plugin.go
} type Resp struct { User string `json:"user"` MaxValiditySeconds int `json:"maxValiditySeconds"` Claims map[string]interface{} `json:"claims"` } var tokens map[string]Resp = map[string]Resp{ "aaa": { User: "Alice", MaxValiditySeconds: 3600, Claims: map[string]interface{}{ "groups": []string{"data-science"}, }, }, "bbb": {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
if off != len(input) && input[off] != '\n' { t.Errorf("scanning <<%s>>, got SEMICOLON at offset %d, want newline or EOF", input, off) } } lit = tok.String() // "\n" => ";" tokens = append(tokens, lit) } if got := strings.Join(tokens, " "); got != want { t.Errorf("scanning <<%s>>, got [%s], want [%s]", input, got, want) } } var semicolonTests = [...]struct{ input, want string }{ {"", ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
!!! tip In the next chapter, you will see a real secure implementation, with password hashing and <abbr title="JSON Web Tokens">JWT</abbr> tokens. But for now, let's focus on the specific details we need. === "Python 3.10+" ```Python hl_lines="87" {!> ../../../docs_src/security/tutorial003_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="87"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 12.5K bytes - Viewed (0) -
src/encoding/xml/xml_test.go
t.Fatalf("failed to decode output: %v", err) } if len(tokens) == 0 { t.Fatalf("unexpected token: %#v", tok) } a, b := tokens[0], tok if !reflect.DeepEqual(a, b) { t.Fatalf("token mismatch: %#v vs %#v", a, b) } tokens = tokens[1:] } if len(tokens) > 0 { t.Fatalf("lost tokens: %#v", tokens) } } func TestRoundTrip(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 36.9K bytes - Viewed (0) -
releasenotes/notes/jwt-aud.yaml
apiVersion: release-notes/v2 kind: feature area: security issue: - 49913 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 159 bytes - Viewed (0) -
pkg/controller/bootstrap/bootstrapsigner.go
sigs[tokenID] = value delete(newCM.Data, key) } } // Now recompute signatures and store them on the new map tokens := e.getTokens(ctx) for tokenID, tokenValue := range tokens { sig, err := jws.ComputeDetachedSignature(content, tokenID, tokenValue) if err != nil { utilruntime.HandleError(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0) -
tools/packaging/common/gcp_envoy_bootstrap.json
{{ if .sts }} "sts_service": { "token_exchange_service_uri": "http://localhost:{{ .sts_port }}/token", "subject_token_path": "./var/run/secrets/tokens/istio-token", "subject_token_type": "urn:ietf:params:oauth:token-type:jwt", "scope": "https://www.googleapis.com/auth/cloud-platform" } {{ else }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/aot/test_google.cc
==============================================================================*/ // Generated by the tf_library build rule. DO NOT EDIT! // // This file contains a test and benchmark for the function generated by // tfcompile. All tokens of the form `{{TFCOMPILE_*}}` must be rewritten to // real values before this file can be compiled. // // TFCOMPILE_HEADER : Path to the header file generated by tfcompile.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3K bytes - Viewed (0)