- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 135 for audiences (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go
}, } // use realistic audiences for benchmarking auds := []string{"7daf30b7-a85c-429b-8b21-e666aecbb235", "c22aa267-bdde-4acb-8505-998be7818400", "44f9b4f3-7125-4333-b04c-1446a16c6113"} b.Run("has audiences", func(b *testing.B) { var key string for n := 0; n < b.N; n++ { key = keyFunc(hashPool, auds, jwtToken) } bKey = key }) b.Run("nil audiences", func(b *testing.B) { var key string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 20.3K bytes - Viewed (0) -
pkg/apis/authentication/v1/zz_generated.conversion.go
} func autoConvert_v1_TokenRequestSpec_To_authentication_TokenRequestSpec(in *v1.TokenRequestSpec, out *authentication.TokenRequestSpec, s conversion.Scope) error { out.Audiences = *(*[]string)(unsafe.Pointer(&in.Audiences)) if err := metav1.Convert_Pointer_int64_To_int64(&in.ExpirationSeconds, &out.ExpirationSeconds, s); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 12:50:40 UTC 2023 - 21.2K bytes - Viewed (0) -
pkg/apis/authentication/v1beta1/zz_generated.conversion.go
} func autoConvert_v1beta1_TokenReviewSpec_To_authentication_TokenReviewSpec(in *v1beta1.TokenReviewSpec, out *authentication.TokenReviewSpec, s conversion.Scope) error { out.Token = in.Token out.Audiences = *(*[]string)(unsafe.Pointer(&in.Audiences)) return nil } // Convert_v1beta1_TokenReviewSpec_To_authentication_TokenReviewSpec is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 23:42:33 UTC 2023 - 14K bytes - Viewed (0) -
pkg/kubelet/token/token_manager_test.go
{ name: "hit", trus: []tokenRequestUnit{ { name: "foo-sa", namespace: "foo-ns", tr: &authenticationv1.TokenRequest{ Spec: authenticationv1.TokenRequestSpec{ Audiences: []string{"foo1", "foo2"}, ExpirationSeconds: getInt64Point(2000), BoundObjectRef: &authenticationv1.BoundObjectReference{ Kind: "pod", Name: "foo-pod", UID: "foo-uid",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication_test.go
TokenFile: "/testTokenFile", }, TokenSuccessCacheTTL: 10 * time.Second, TokenFailureCacheTTL: 0, } expectConfig := kubeauthenticator.Config{ APIAudiences: authenticator.Audiences{"http://foo.bar.com"}, Anonymous: false, BootstrapToken: false, ClientCAContentProvider: nil, // this is nil because you can't compare functions TokenAuthFile: "/testTokenFile",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 36.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go
// audiences is the set of acceptable audiences the JWT must be issued to. // At least one of the entries must match the "aud" claim in presented JWTs. // Same value as the --oidc-client-id flag (though this field supports an array). // Required to be non-empty. // +required Audiences []string `json:"audiences"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/generated.pb.go
i := len(dAtA) _ = i var l int _ = l if len(m.Audiences) > 0 { for iNdEx := len(m.Audiences) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Audiences[iNdEx]) copy(dAtA[i:], m.Audiences[iNdEx]) i = encodeVarintGenerated(dAtA, i, uint64(len(m.Audiences[iNdEx]))) i-- dAtA[i] = 0x12 } } i -= len(m.Token) copy(dAtA[i:], m.Token)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 47.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
seenAudiences := sets.NewString() for i, audience := range audiences { fldPath := fldPath.Index(i) if len(audience) == 0 { allErrs = append(allErrs, field.Required(fldPath, "audience can't be empty")) } if seenAudiences.Has(audience) { allErrs = append(allErrs, field.Duplicate(fldPath, audience)) } seenAudiences.Insert(audience) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
// audiences is the set of acceptable audiences the JWT must be issued to. // At least one of the entries must match the "aud" claim in presented JWTs. // Same value as the --oidc-client-id flag (though this field supports an array). // Required to be non-empty. // +required Audiences []string `json:"audiences"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 26.6K bytes - Viewed (0) -
pkg/kubeapiserver/authenticator/config.go
OIDCSigningAlgs []string ServiceAccountKeyFiles []string ServiceAccountLookup bool ServiceAccountIssuers []string APIAudiences authenticator.Audiences WebhookTokenAuthnConfigFile string WebhookTokenAuthnVersion string WebhookTokenAuthnCacheTTL time.Duration // WebhookRetryBackoff specifies the backoff parameters for the authentication webhook retry logic.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 15.4K bytes - Viewed (0)