Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doneAuthenticating (0.52 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go

    func (a *cachedTokenAuthenticator) doAuthenticateToken(ctx context.Context, token string) *cacheRecord {
    	doneAuthenticating := stats.authenticating(ctx)
    
    	auds, audsOk := authenticator.AudiencesFrom(ctx)
    
    	key := keyFunc(a.hashPool, auds, token)
    	if record, ok := a.cache.get(key); ok {
    		// Record cache hit
    		doneAuthenticating(true)
    		return record
    	}
    
    	// Record cache miss
    	doneBlocking := stats.blocking(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top