Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WrapAudienceAgnosticToken (0.59 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic.go

    	return authenticate(ctx, a.implicit, func() (*Response, bool, error) {
    		return a.delegate.AuthenticateToken(ctx, tok)
    	})
    }
    
    // WrapAudienceAgnosticToken wraps an audience agnostic token authenticator to
    // restrict its accepted audiences to a set of implicit audiences.
    func WrapAudienceAgnosticToken(implicit Audiences, delegate Token) Token {
    	return &audAgnosticTokenAuthenticator{
    		implicit: implicit,
    		delegate: delegate,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 31 22:31:49 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/loopback.go

    )
    
    // NewFromTokens returns an authenticator.Request or an error
    func NewFromTokens(tokens map[string]*user.DefaultInfo, audiences authenticator.Audiences) authenticator.Request {
    	return bearertoken.New(authenticator.WrapAudienceAgnosticToken(audiences, tokenfile.New(tokens)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 19 16:54:11 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/authenticator/config.go

    		tokenAuth, err := newAuthenticatorFromTokenFile(config.TokenAuthFile)
    		if err != nil {
    			return nil, nil, nil, nil, err
    		}
    		tokenAuthenticators = append(tokenAuthenticators, authenticator.WrapAudienceAgnosticToken(config.APIAudiences, tokenAuth))
    	}
    	if len(config.ServiceAccountKeyFiles) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top