- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 275 for Alice (0.06 sec)
-
docs/iam/identity-manager-plugin.go
MaxValiditySeconds int `json:"maxValiditySeconds"` Claims map[string]interface{} `json:"claims"` } var tokens map[string]Resp = map[string]Resp{ "aaa": { User: "Alice", MaxValiditySeconds: 3600, Claims: map[string]interface{}{ "groups": []string{"data-science"}, }, }, "bbb": { User: "Bart", MaxValiditySeconds: 3600,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 2.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003.py
assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_inactive_user(): response = client.get("/users/me", headers={"Authorization": "Bearer alice"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "Inactive user"} def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an.py
assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_inactive_user(): response = client.get("/users/me", headers={"Authorization": "Bearer alice"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "Inactive user"} def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an_py39.py
assert response.headers["WWW-Authenticate"] == "Bearer" @needs_py39 def test_inactive_user(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer alice"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "Inactive user"} @needs_py39 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Project.currentGitCommitViaFileSystemQuery(): Provider<String> = getBuildEnvironmentExtensionOrNull()?.gitCommitId ?: objects.property(String::class.java) // pre-test/master/queue/alice/feature -> master // pre-test/release/current/bob/bugfix -> release // gh-readonly-queue/master/pr-1234-5678abcdef -> master fun toMergeQueueBaseBranch(actualBranch: String): String = when {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 4.9K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an_py310.py
assert response.headers["WWW-Authenticate"] == "Bearer" @needs_py310 def test_inactive_user(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer alice"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "Inactive user"} @needs_py310 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_py310.py
assert response.headers["WWW-Authenticate"] == "Bearer" @needs_py310 def test_inactive_user(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer alice"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "Inactive user"} @needs_py310 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an_py39.py
assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' @needs_py39 def test_token_inactive_user(client: TestClient): access_token = get_access_token( username="alice", password="secretalice", scope="me", client=client ) response = client.get( "/users/me", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005.py
assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' def test_token_inactive_user(): access_token = get_access_token( username="alice", password="secretalice", scope="me" ) response = client.get( "/users/me", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 15.4K bytes - Viewed (0) -
docs/em/docs/tutorial/security/simple-oauth2.md
๐ฅ ๐ ๐ ๐ โน & โ, & โคด๏ธ ๐ ๐ ๐ ๏ธ ๐, ๐ ๐ ๐ค ๐บ๐ธ๐ 4๏ธโฃ0๏ธโฃ1๏ธโฃ โ: ```JSON { "detail": "Not authenticated" } ``` ### ๐ ๐ฉโ๐ป ๐ ๐ โฎ๏ธ ๐ ๐ฉโ๐ป, ๐ โฎ๏ธ: ๐ฉโ๐ป: `alice` ๐: `secret2` & ๐ โ๏ธ ๐ ๏ธ `GET` โฎ๏ธ โก `/users/me`. ๐ ๐ ๐ค "๐ ๐ฉโ๐ป" โ, ๐: ```JSON { "detail": "Inactive user" } ``` ## ๐
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (0)