- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 784 for stopTs (0.07 seconds)
-
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
只是因為這是很常見的用例,所以 **FastAPI** 直接內建提供,讓事情更簡單。 /// ### 使用表單資料 { #use-the-form-data } /// tip `OAuth2PasswordRequestForm` 這個依賴類別的實例不會有以空白分隔長字串的 `scope` 屬性,而是會有一個 `scopes` 屬性,裡面是各個 scope 的實際字串清單。 本示例沒有使用 `scopes`,但如果你需要,功能已經在那裡了。 /// 現在,從(假的)資料庫裡用表單欄位的 `username` 取得使用者資料。 如果沒有該使用者,就回傳「Incorrect username or password」的錯誤。 我們用 `HTTPException` 這個例外來回傳錯誤:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/oauth2-jwt.md
<img src="/img/tutorial/security/image10.png"> /// note | 注意 留意標頭 `Authorization`,其值是以 `Bearer ` 開頭。 /// ## 進階用法:`scopes` { #advanced-usage-with-scopes } OAuth2 有「scopes」的概念。 你可以用它們替 JWT 權杖加上一組特定的權限。 接著你可以把這個權杖直接交給某個使用者或第三方,讓他們在一組受限條件下與你的 API 互動。 你可以在之後的「進階使用者指南」學到如何使用它們,以及它們如何整合進 **FastAPI**。 ## 小結 { #recap }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} catch (AssertionError e) { return; } fail("Should have caught jdk6 bug in target iterator"); } private static final int STEPS = 3; static class TesterThatCountsCalls extends IteratorTester<Integer> { TesterThatCountsCalls() { super(STEPS, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER); } int numCallsToNewTargetIterator; int numCallsToVerify;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
@app.get("/request-scope") def request_scope(session: SessionRequestDep) -> Any: def iter_data(): yield json.dumps({"is_open": session.open}) return StreamingResponse(iter_data()) @app.get("/two-scopes") def get_stream_session( function_session: SessionFuncDep, request_session: SessionRequestDep ) -> Any: def iter_data(): yield json.dumps(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java
*/ public OptionalEntity<FileAuthentication> getFileAuthentication(final String id) { return fileAuthenticationBhv.selectByPK(id); } /** * Stores a file authentication configuration. * The parameters are encrypted before storage for security. * * @param fileAuthentication the file authentication configuration to store */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractListMultimap.java
*/ @CanIgnoreReturnValue @Override public List<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return (List<V>) super.replaceValues(key, values); } /** * Stores a key-value pair in the multimap. * * @param key key to store in the multimap * @param value value to store in the multimap * @return {@code true} always */ @CanIgnoreReturnValue @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 4.6K bytes - Click Count (0) -
.github/workflows/update-test-buckets.yml
permissions: contents: write id-token: write pull-requests: write jobs: update-test-buckets: runs-on: ubuntu-latest if: github.repository == 'gradle/gradle' steps: - name: Checkout repository uses: actions/checkout@v6 - name: configure aws credentials uses: aws-actions/configure-aws-credentials@v6 with:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
/// tip | Подсказка У экземпляра зависимости `OAuth2PasswordRequestForm` не будет атрибута `scope` с длинной строкой, разделенной пробелами. Вместо этого будет атрибут `scopes` со списком отдельных строк — по одной для каждого переданного scope. В данном примере мы не используем `scopes`, но если вам это необходимо, функциональность есть. /// Теперь получим данные о пользователе из (ненастоящей) базы данных, используя `username` из поля формы.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 16.2K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug_report.md
## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> <!--- or ideas how to implement the addition or change --> ## Steps to Reproduce (for bugs) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant -->
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:29:55 GMT 2025 - 2.1K bytes - Click Count (0) -
cmd/batch-job-common-types.go
if kv.Empty() { return true } if strings.EqualFold(kv.Key, ikv.Key) { return wildcard.Match(kv.Value, ikv.Value) } return false } // BatchJobNotification stores notification endpoint and token information. // Used by batch jobs to notify of their status. type BatchJobNotification struct { line, col int Endpoint string `yaml:"endpoint" json:"endpoint"`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0)