Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validateSignature (0.17 sec)

  1. cmd/auth-handler.go

    		writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrSignatureVersionNotSupported), r.URL)
    		atomic.AddUint64(&globalHTTPStats.rejectedRequestsAuth, 1)
    	})
    }
    
    func validateSignature(atype authType, r *http.Request) (auth.Credentials, bool, APIErrorCode) {
    	var cred auth.Credentials
    	var owner bool
    	var s3Err APIErrorCode
    	switch atype {
    	case authTypeUnknown, authTypeStreamingSigned:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		return
    	}
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	cred, owner, s3Err := validateSignature(getRequestAuthType(r), r)
    	if s3Err != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top