- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 448 for boater (0.3 sec)
-
tests/test_security_http_bearer_optional.py
client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Bearer", "credentials": "foobar"} def test_security_http_bearer_no_credentials(): response = client.get("/users/me")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K bytes - Viewed (0) -
tests/test_security_http_bearer.py
client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Bearer", "credentials": "foobar"} def test_security_http_bearer_no_credentials(): response = client.get("/users/me")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2K bytes - Viewed (0) -
tests/test_security_http_bearer_description.py
security = HTTPBearer(description="HTTP Bearer token scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.2K bytes - Viewed (0) -
docs/en/docs/img/sponsors/porter.png
porter.png...
PNG Image - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Aug 09 17:04:49 GMT 2023 - 23.4K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", description="OAuth2 Code Bearer", auto_error=True, ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): return {"token": token} client = TestClient(app)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Resources.java
* {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the * context class loader will find resources from the class path. In environments where different * threads can have different class loaders, for example app servers, the context class loader * will typically have been set to an appropriate loader for the current thread. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 7.4K bytes - Viewed (0) -
docs/en/docs/img/sponsors/porter-banner.png
porter-banner.png...
PNG Image - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Aug 09 17:04:49 GMT 2023 - 16.9K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional.py
assert response.status_code == 200, response.text assert response.json() == {"msg": "Create an account first"} def test_token(): response = client.get("/items", headers={"Authorization": "Bearer testtoken"}) assert response.status_code == 200, response.text assert response.json() == {"token": "testtoken"} def test_incorrect_token():
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K bytes - Viewed (0) -
docs/en/docs/css/custom.css
*/ .screenshot { display: block; background-color: #d3e0de; border-radius: 4px; padding: 45px 5px 5px; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; } .screenshot img { display: block; border-radius: 2px; } .screenshot:before { content: ''; position: absolute; top: 15px; left: 15px;
CSS - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 09:53:45 GMT 2024 - 2.8K bytes - Viewed (0) -
src/main/webapp/css/style.css
body { padding: 1em 0; margin: 56px 0 4em; } footer { width: 100%; bottom: 0; height: 4em; position: absolute; border-top: 1px solid; padding-top: 1em; } h1, h2, h3 { line-height: 32px; } h1 { font-size: 30px; } h2 { font-size: 24px; } h3 { font-size: 18px; } .form-control { border-radius: 0px; } legend{ display: none; }
CSS - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Jun 02 11:39:35 GMT 2022 - 2K bytes - Viewed (2)