Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StatusUnauthorized (0.1 sec)

  1. internal/config/identity/openid/provider/keycloak.go

    			return User{}, err
    		}
    		return u, nil
    	case http.StatusNotFound:
    		return User{
    			ID:      userid,
    			Enabled: false,
    		}, nil
    	case http.StatusUnauthorized:
    		return User{}, ErrAccessTokenExpired
    	}
    	return User{}, fmt.Errorf("Unable to lookup - keycloak user lookup returned %v", resp.Status)
    }
    
    // Option is a function type that accepts a pointer Target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    	"Permanent Redirect":              http.StatusPermanentRedirect,
    	"Bad Request":                     http.StatusBadRequest,
    	"Unauthorized":                    http.StatusUnauthorized,
    	"Payment Required":                http.StatusPaymentRequired,
    	"Forbidden":                       http.StatusForbidden,
    	"Not Found":                       http.StatusNotFound,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    	case errFileNotFound, errFileVersionNotFound:
    		w.WriteHeader(http.StatusNotFound)
    	case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime:
    		w.WriteHeader(http.StatusUnauthorized)
    	case context.Canceled, context.DeadlineExceeded:
    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	},
    	ErrUnauthorizedAccess: {
    		Code:           "UnauthorizedAccess",
    		Description:    "You are not authorized to perform this operation",
    		HTTPStatusCode: http.StatusUnauthorized,
    	},
    	ErrExpressionTooLong: {
    		Code:           "ExpressionTooLong",
    		Description:    "The SQL expression is too long: The maximum byte-length for the SQL expression is 256 KB.",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top