Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCitadelClientWithDifferentTypeToken (0.62 sec)

  1. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    	return "", fmt.Errorf("no bearer token exists in HTTP authorization header")
    }
    
    // this test is to test whether the server side receive the correct token when
    // we build the CSR sign request
    func TestCitadelClientWithDifferentTypeToken(t *testing.T) {
    	testCases := map[string]struct {
    		server       mockTokenCAServer
    		expectedCert []string
    		expectedErr  string
    		token        string
    	}{
    		"Valid Token": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top