Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for checkClaimsFromToken (0.31 seconds)

  1. cmd/auth-handler.go

    	if err != nil {
    		return nil, err
    	}
    	return jwtClaims.Map(), nil
    }
    
    // Fetch claims in the security token returned by the client and validate the token.
    func checkClaimsFromToken(r *http.Request, cred auth.Credentials) (map[string]any, APIErrorCode) {
    	token := getSessionToken(r)
    	if token != "" && cred.AccessKey == "" {
    		// x-amz-security-token is not allowed for anonymous access.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
Back to Top