Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for 403 (0.14 sec)

  1. src/main/webapp/WEB-INF/web.xml

      </error-page>
      <error-page>
        <error-code>401</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=badAuth</location>
      </error-page>
      <error-page>
        <error-code>403</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
      </error-page>
      <error-page>
        <error-code>404</error-code>
        <location>/WEB-INF/view/error/redirect.jsp?type=notFound</location>
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Feb 13 21:53:22 GMT 2019
    - 7K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    				result.MaxValiditySeconds, minValidityDurationSeconds, maxValidityDurationSeconds)
    		}
    
    		return AuthNResponse{
    			Success: &result,
    		}, nil
    
    	case 403:
    		var result AuthNErrorResponse
    		if err = json.NewDecoder(resp.Body).Decode(&result); err != nil {
    			return AuthNResponse{}, err
    		}
    		return AuthNResponse{
    			Failure: &result,
    		}, nil
    
    	default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  3. fastapi/security/oauth2.py

    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN
    
    # TODO: import from typing when deprecating Python 3.9
    from typing_extensions import Annotated, Doc
    
    
    class OAuth2PasswordRequestForm:
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        } catch (e: ClassNotFoundException) {
          null
        } catch (e: RuntimeException) {
          // Throws InaccessibleObjectException (added in JDK9) on JDK 17 due to
          // JEP 403 Strongly Encapsulate JDK Internals.
          if (e.javaClass.name != "java.lang.reflect.InaccessibleObjectException") {
            throw e
          }
    
          null
        }
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. tests/test_tutorial/test_bigger_applications/test_main_an.py

    
    def test_put_forbidden(client: TestClient):
        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

    
    @needs_py39
    def test_put_forbidden(client: TestClient):
        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    @needs_py39
    def test_admin(client: TestClient):
        response = client.post(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main.py

    
    def test_put_forbidden(client: TestClient):
        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  8. internal/rest/client.go

    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    		// with the caller to take the client offline purpose
    		// fully it should make sure to respond with '412'
    		// instead, see cmd/storage-rest-server.go for ideas.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/bigger-applications.md

    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    !!! tip
        ๐Ÿ‘‰ ๐Ÿ โžก ๐Ÿ› ๏ธ ๐Ÿ”œ โœ”๏ธ ๐ŸŒ€ ๐Ÿ”–: `["items", "custom"]`.
    
         &amp; โšซ๏ธ ๐Ÿ”œ โœ”๏ธ ๐Ÿ‘ฏโ€โ™‚๏ธ ๐Ÿ“จ ๐Ÿงพ, 1๏ธโƒฃ `404` &amp; 1๏ธโƒฃ `403`.
    
    ## ๐Ÿ‘‘ `FastAPI`
    
    ๐Ÿ”œ, โžก๏ธ ๐Ÿ‘€ ๐Ÿ•น `app/main.py`.
    
    ๐Ÿ“ฅ ๐ŸŒโ” ๐Ÿ‘† ๐Ÿ—„ &amp; โš™๏ธ ๐ŸŽ“ `FastAPI`.
    
    ๐Ÿ‘‰ ๐Ÿ”œ ๐Ÿ‘‘ ๐Ÿ“ ๐Ÿ‘† ๐Ÿˆธ ๐Ÿ‘ˆ ๐Ÿ‘” ๐ŸŒ ๐Ÿ‘ฏโ€โ™‚๏ธ.
    
    &amp; ๐Ÿ† ๐Ÿ‘† โš› ๐Ÿ”œ ๐Ÿ”œ ๐Ÿ–– ๐Ÿšฎ ๐Ÿ‘ ๐ŸŽฏ ๐Ÿ•น, ๐Ÿ‘‘ ๐Ÿ“ ๐Ÿ”œ ๐Ÿ™….
    
    ### ๐Ÿ—„ `FastAPI`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    ```
    
    !!! tip
        This last path operation will have the combination of tags: `["items", "custom"]`.
    
        And it will also have both responses in the documentation, one for `404` and one for `403`.
    
    ## The main `FastAPI`
    
    Now, let's see the module at `app/main.py`.
    
    Here's where you import and use the class `FastAPI`.
    
    This will be the main file in your application that ties everything together.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top