- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for ALICE (0.03 sec)
-
tests/test_tutorial/test_security/test_tutorial005_an_py310.py
assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' @needs_py310 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_an.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) -
tests/test_tutorial/test_security/test_tutorial005_py310.py
assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' @needs_py310 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_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) -
src/main/java/jcifs/smb1/smb1/SID.java
* <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt> but they may * also be resolved to yield the name of the associated Windows account * such as <tt>Administrators</tt> or <tt>MYDOM\alice</tt>. * <p> * Consider the following output of <tt>examples/SidLookup.java</tt>: * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 26.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.3K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Inaktiver Benutzer Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit: Benutzer: `alice`. Passwort: `secret2`. Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden. Sie erhalten die Fehlermeldung „Inactive user“: ```JSON { "detail": "Inactive user"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
* <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt> but they may * also be resolved to yield the name of the associated Windows account * such as <tt>Administrators</tt> or <tt>MYDOM\alice</tt>. * <p> * Consider the following output of <tt>examples/SidLookup.java</tt>: * * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误: ```JSON { "detail": "Not authenticated" } ``` ### 未激活用户 测试未激活用户,输入以下信息,进行身份验证: 用户名:`alice` 密码:`secret2` 然后,执行 `/users/me` 路径的 `GET` 操作。 显示下列**未激活用户**错误信息: ```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) -
docs/pt/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Usuário inativo Agora tente com um usuário inativo, autentique-se com: User: `alice` Password: `secret2` E tente usar a operação `GET` com o caminho `/users/me`. Você receberá um erro "Usuário inativo", como: ```JSON { "detail": "Inactive user" } ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0)