Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasValidAuth (0.09 sec)

  1. cmd/generic-handlers.go

    func hasMultipleAuth(r *http.Request) bool {
    	authTypeCount := 0
    	for _, hasValidAuth := range []func(*http.Request) bool{
    		isRequestSignatureV2, isRequestPresignedSignatureV2,
    		isRequestSignatureV4, isRequestPresignedSignatureV4,
    		isRequestJWT, isRequestPostPolicySignatureV4,
    	} {
    		if hasValidAuth(r) {
    			authTypeCount++
    		}
    	}
    	return authTypeCount > 1
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top