Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 209 for userInfo (0.15 sec)

  1. pkg/registry/authentication/selfsubjectreview/rest.go

    		},
    		Status: authenticationapi.SelfSubjectReviewStatus{
    			UserInfo: authenticationapi.UserInfo{
    				Username: user.GetName(),
    				UID:      user.GetUID(),
    				Groups:   user.GetGroups(),
    				Extra:    make(map[string]authenticationapi.ExtraValue, len(extra)),
    			},
    		},
    	}
    	for key, attr := range extra {
    		selfSR.Status.UserInfo.Extra[key] = attr
    	}
    
    	return selfSR, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1_test.go

    			return
    		}
    		type userInfo struct {
    			Username string              `json:"username"`
    			UID      string              `json:"uid"`
    			Groups   []string            `json:"groups"`
    			Extra    map[string][]string `json:"extra"`
    		}
    		type status struct {
    			Authenticated bool     `json:"authenticated"`
    			User          userInfo `json:"user"`
    			Audiences     []string `json:"audiences"`
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/authentication/v1alpha1/generated.proto

    // SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
    message SelfSubjectReviewStatus {
      // User attributes of the user making this request.
      // +optional
      optional k8s.io.api.authentication.v1.UserInfo userInfo = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. security/pkg/k8s/tokenreview/k8sauthn_test.go

    		},
    		{
    			name: "token is not a service account",
    			tokenReview: authenticationv1.TokenReview{
    				Status: authenticationv1.TokenReviewStatus{
    					Authenticated: true,
    					User: authenticationv1.UserInfo{
    						Groups: []string{
    							"system:serviceaccounts:default",
    						},
    					},
    				},
    			},
    			expectedError: fmt.Errorf("the token is not a service account"),
    		},
    		{
    			name: "invalid username",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            if ( userInfo != null ) {
                try {
                    userInfo = unescape(userInfo);
                }
                catch ( UnsupportedEncodingException uee ) {
                    throw new RuntimeCIFSException(uee);
                }
                int i, u;
                int end = userInfo.length();
                for ( i = 0, u = 0; i < end; i++ ) {
                    char c = userInfo.charAt(i);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/authentication/v1/zz_generated.deepcopy.go

    			}
    			(*out)[key] = outVal
    		}
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
    func (in *UserInfo) DeepCopy() *UserInfo {
    	if in == nil {
    		return nil
    	}
    	out := new(UserInfo)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

    // SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
    message SelfSubjectReviewStatus {
      // User attributes of the user making this request.
      // +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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authentication/v1beta1/generated.pb.go

    var xxx_messageInfo_TokenReviewStatus proto.InternalMessageInfo
    
    func (m *UserInfo) Reset()      { *m = UserInfo{} }
    func (*UserInfo) ProtoMessage() {}
    func (*UserInfo) Descriptor() ([]byte, []int) {
    	return fileDescriptor_fdc2de40fd7f3b21, []int{6}
    }
    func (m *UserInfo) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. src/net/url/url.go

    }
    
    // User returns a [Userinfo] containing the provided username
    // and no password set.
    func User(username string) *Userinfo {
    	return &Userinfo{username, "", false}
    }
    
    // UserPassword returns a [Userinfo] containing the provided username
    // and password.
    //
    // This functionality should only be used with legacy web sites.
    // RFC 2396 warns that interpreting Userinfo this way
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  10. plugin/pkg/admission/eventratelimit/limitenforcer.go

    	return attr.GetNamespace()
    }
    
    // getUserKey returns a cache key that is based on the user of the event request
    func getUserKey(attr admission.Attributes) string {
    	userInfo := attr.GetUserInfo()
    	if userInfo == nil {
    		return ""
    	}
    	return userInfo.GetName()
    }
    
    // getSourceAndObjectKey returns a cache key that is based on the source+object of the event
    func getSourceAndObjectKey(attr admission.Attributes) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 08 02:31:37 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top