- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 576 for scope_ (0.17 sec)
-
tests/test_tutorial/test_security/test_tutorial003.py
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_tutorial005_an.py
fake_users_db, get_password_hash, verify_password, ) client = TestClient(app) def get_access_token(username="johndoe", password="secret", scope=None): data = {"username": username, "password": password} if scope: data["scope"] = scope response = client.post("/token", data=data) content = response.json() access_token = content.get("access_token") return access_token
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
client = TestClient(app) return client def get_access_token( *, username="johndoe", password="secret", scope=None, client: TestClient ): data = {"username": username, "password": password} if scope: data["scope"] = scope response = client.post("/token", data=data) content = response.json() access_token = content.get("access_token") return access_token
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
client = TestClient(app) return client def get_access_token( *, username="johndoe", password="secret", scope=None, client: TestClient ): data = {"username": username, "password": password} if scope: data["scope"] = scope response = client.post("/token", data=data) content = response.json() access_token = content.get("access_token") return access_token
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_tutorial003_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
但由于这种用例很常见,FastAPI 为了简便,就直接提供了对它的支持。 /// ### 使用表单数据 /// tip | "提示" `OAuth2PasswordRequestForm` 类依赖项的实例没有以空格分隔的长字符串属性 `scope`,但它支持 `scopes` 属性,由已发送的 scope 字符串列表组成。 本例没有使用 `scopes`,但开发者也可以根据需要使用该属性。 /// 现在,即可使用表单字段 `username`,从(伪)数据库中获取用户数据。 如果不存在指定用户,则返回错误消息,提示**用户名或密码错误**。 本例使用 `HTTPException` 异常显示此错误: ```Python hl_lines="3 77-79"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java
* trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution * scoped components. * </p> * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice. * * @see org.apache.maven.execution.MojoExecutionListener * @since 3.1.2 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
this.port = port; } /** See https://api.slack.com/docs/oauth. */ public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) { HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize") .addQueryParameter("client_id", clientId) .addQueryParameter("scope", scopes) .addQueryParameter("redirect_uri", redirectUrl.toString()) .addQueryParameter("state", state.base64());
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0)