Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetAud (0.07 sec)

  1. security/pkg/util/jwtutil_test.go

    				t.Errorf("%s: Got expiration time: %s, expected expiration time: %s",
    					id, exp.String(), tc.expectedExp.String())
    			}
    		})
    	}
    }
    
    func TestGetAud(t *testing.T) {
    	testCases := map[string]struct {
    		jwt string
    		aud []string
    	}{
    		"no audience": {
    			jwt: firstPartyJwt,
    		},
    		"one audience string": {
    			jwt: oneAudString,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top