Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for tokenreview (0.15 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go

    	for i := 0; i < 1000; i++ {
    		original := &authenticationv1.TokenReview{}
    		f.Fuzz(&original.Spec)
    		f.Fuzz(&original.Status)
    		converted := &authenticationv1beta1.TokenReview{
    			Spec:   v1SpecToV1beta1Spec(&original.Spec),
    			Status: v1StatusToV1beta1Status(original.Status),
    		}
    		roundtripped := &authenticationv1.TokenReview{
    			Spec:   v1beta1SpecToV1Spec(converted.Spec),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

      // +optional
      optional k8s.io.api.authentication.v1.UserInfo userInfo = 1;
    }
    
    // TokenReview attempts to authenticate a token to a known user.
    // Note: TokenReview requests may be cached by the webhook token authenticator
    // plugin in the kube-apiserver.
    message TokenReview {
      // Standard object's metadata.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/authentication/v1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time expirationTimestamp = 2;
    }
    
    // TokenReview attempts to authenticate a token to a known user.
    // Note: TokenReview requests may be cached by the webhook token authenticator
    // plugin in the kube-apiserver.
    message TokenReview {
      // Standard object's metadata.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authentication/v1/types_swagger_doc_generated.go

    identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. pkg/apis/authentication/types.go

    	// compatible with both the TokenReview and token. An identifier is any
    	// identifier in the intersection of the TokenReviewSpec audiences and the
    	// token's audiences. A client of the TokenReview API that sets the
    	// spec.audiences field should validate that a compatible audience identifier
    	// is returned in the status.audiences field to ensure that the TokenReview
    	// server is audience aware. If a TokenReview returns an empty
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:33:37 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/authentication/v1/zz_generated.deepcopy.go

    func (in *TokenReview) DeepCopyInto(out *TokenReview) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
    func (in *TokenReview) DeepCopy() *TokenReview {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. pkg/registry/authentication/rest/storage_authentication.go

    	storage := map[string]rest.Storage{}
    
    	// tokenreviews
    	if resource := "tokenreviews"; apiResourceConfigSource.ResourceEnabled(authenticationv1.SchemeGroupVersion.WithResource(resource)) {
    		tokenReviewStorage := tokenreview.NewREST(p.Authenticator, p.APIAudiences)
    		storage[resource] = tokenReviewStorage
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authentication/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *TokenReview) APILifecycleIntroduced() (major, minor int) {
    	return 1, 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/authentication_test.go

    				return opts
    			}(),
    			expectError:         false, // client building is valid, skipped cluster lookup
    			expectAuthenticator: true,
    			expectTokenErrors:   true, // client fails making tokenreview calls
    		},
    		{
    			name: "valid client, tolerate failed cluster info lookup",
    			options: func() *DelegatingAuthenticationOptions {
    				opts := NewDelegatingAuthenticationOptions()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 15:01:56 UTC 2019
    - 6.9K bytes
    - Viewed (0)
  10. pkg/apis/authentication/register.go

    	// AddToScheme applies all the stored functions to the scheme.
    	AddToScheme = SchemeBuilder.AddToScheme
    )
    
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&TokenReview{},
    		&TokenRequest{},
    		&SelfSubjectReview{},
    	)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 14 16:00:26 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top