Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 391 for Token (0.04 sec)

  1. cmd/metrics.go

    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    func NoAuthMiddleware(h http.Handler) http.Handler {
    	return h
    }
    
    // AuthMiddleware checks if the bearer token is valid and authorized.
    func AuthMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.33.md

    - kube-apiserver: `--service-account-max-token-expiration` can now be used in combination with an external token signer `--service-account-signing-endpoint`, as long as the `--service-account-max-token-expiration` is not longer than the external token signer's max expiration. ([#129816](https://github.com/kubernetes/kubernetes/pull/129816), [@sambdavidson](https://github.com/sambdavidson)) [SIG...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:46:23 UTC 2025
    - 294.3K bytes
    - Viewed (0)
  3. cmd/iam.go

    				if err != nil {
    					continue
    				}
    				jwtClaims, err = auth.ExtractClaims(cred.SessionToken, secretKey)
    			}
    			if err != nil {
    				// skip this cred - session token seems invalid
    				continue
    			}
    
    			ldapUsername, okUserN := jwtClaims.Lookup(ldapUserN)
    			ldapActualDN, okDN := jwtClaims.Lookup(ldapActualUser)
    			if !okUserN || !okDN {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.6.md

      * All communication is now over TLS
      * Authorization plugins can be installed by kubeadm, including the new default of RBAC
      * The bootstrap token system now allows token management and expiration
    * The [`kubefed` federation bootstrap tool](https://kubernetes.io/docs/tutorials/federation/set-up-cluster-federation-kubefed/) has also graduated to beta.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.18.md

    - Fixes service account token admission error in clusters that do not run the service account token controller ([#87029](https://github.com/kubernetes/kubernetes/pull/87029), [@liggitt](https://github.com/liggitt)) [SIG Auth]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  6. cmd/utils.go

    	oauth2Token, err := oauth2Config.Exchange(ctx, code)
    	if err != nil {
    		return "", fmt.Errorf("unable to exchange code for id token: %v", err)
    	}
    
    	rawIDToken, ok := oauth2Token.Extra("id_token").(string)
    	if !ok {
    		return "", fmt.Errorf("id_token not found!")
    	}
    
    	// fmt.Printf("TOKEN: %s\n", rawIDToken)
    	return rawIDToken, nil
    }
    
    // unwrapAll will unwrap the returned error completely.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    						}
    					}
    
    					if testCase.resultL.IsTruncated != resultL.IsTruncated {
    						// Allow an extra continuation token.
    						if !resultL.IsTruncated || len(resultL.Objects) == 0 {
    							t.Errorf("Test %d: %s: Expected IsTruncated flag to be %v, but instead found it to be %v", i+1, instanceType, testCase.resultL.IsTruncated, resultL.IsTruncated)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.3.md

    * Google Compute Engine PD Detach fails if node no longer exists ([29358](https://github.com/kubernetes/kubernetes/issues/29358))
    * Mounting (only 'default-token') volume takes a long time when creating a batch of pods  (parallelization issue) ([28616](https://github.com/kubernetes/kubernetes/issues/28616))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/security/oauth2-jwt.md

    `get_current_user` 함수를 이전과 동일한 토큰을 받도록 수정하되, 이번에는 JWT 토큰을 사용하도록 합니다.
    
    받은 토큰을 디코딩하여 검증한 후 현재 사용자를 반환합니다.
    
    토큰이 유효하지 않다면 HTTP 오류를 반환합니다.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## `/token` 경로 작업 수정
    
    토큰의 만료 시각을 설정하기 위해 `timedelta` 를 생성합니다.
    
    실제 JWT 액세스 토큰을 생성하여 반환합니다.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    ### JWT "주체(subject)" `sub`에 대한 기술 세부 사항
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.17.md

    - Kube-apiserver can now specify `--authentication-token-webhook-version=v1` or `--authorization-webhook-version=v1` to use `v1` TokenReview and SubjectAccessReview API objects when communicating with authentication and authorization webhooks. ([#84768](https://github.com/kubernetes/kubernetes/pull/84768), [@liggitt](https://github.com/liggitt))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
Back to top