- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 486 for token5 (0.06 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
@PathSensitive(PathSensitivity.NONE) public abstract RegularFileProperty getBaseCssFile(); /** * Key-value pairs that are replaced in the generated HTML. * * This uses Ant style replacement tokens. */ @Input public abstract MapProperty<String, String> getReplacementTokens(); @Inject protected abstract FileSystemOperations getFs(); @TaskAction public void transform() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:08:23 GMT 2026 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
int byteCountValue = 16 + 10; // guid + token setByteCount(response, byteCountValue); byte[] buffer = new byte[byteCountValue]; byte[] guid = new byte[16]; for (int i = 0; i < 16; i++) { guid[i] = (byte) i; } System.arraycopy(guid, 0, buffer, 0, 16); byte[] token = new byte[10]; for (int i = 0; i < 10; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
baos.write(0x60); // APPLICATION 0 baos.write(content.length); baos.write(content); byte[] token = baos.toByteArray(); assertThrows(PACDecodingException.class, () -> new KerberosToken(token)); } // Helper methods to create test tokens private byte[] createGssApiWrapper(ASN1ObjectIdentifier oid, byte[] data) throws IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} @Override public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey, boolean inclusive) { return new NavigableAsMap(sortedMap().headMap(toKey, inclusive)); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
/** * Constructs KerberosEncData from encrypted token bytes. * * @param token the encrypted Kerberos token * @param keys map of encryption keys indexed by key type * @throws PACDecodingException if decoding fails */ public KerberosEncData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/get-current-user.md
記得依賴可以有子依賴嗎? `get_current_user` 會依賴我們先前建立的相同 `oauth2_scheme`。 如同先前在*路徑操作*中直接做的一樣,新的依賴 `get_current_user` 會從子依賴 `oauth2_scheme` 接收一個作為 `str` 的 `token`: {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## 取得使用者 { #get-the-user } `get_current_user` 會使用我們建立的(假的)工具函式,它接收一個作為 `str` 的 token,並回傳我們的 Pydantic `User` 模型: {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## 注入目前使用者 { #inject-the-current-user }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 3.7K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/main.py
if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/") async def create_item(item: Item, x_token: Annotated[str, Header()]) -> Item: if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:32:24 GMT 2026 - 1.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
/// ## 返回 Token { #return-the-token } `token` 端点的响应必须是 JSON 对象。 响应返回的内容应该包含 `token_type`。本例中用的是**Bearer**Token,因此, Token 类型应为**`bearer`**。 返回内容还应包含 `access_token` 字段,它是包含权限 Token 的字符串。 本例只是简单的演示,返回的 Token 就是 `username`,但这种方式极不安全。 /// tip | 提示 下一章介绍使用哈希密码和 <abbr title="JSON Web Tokens - JSON Web 令牌">JWT</abbr> Token 的真正安全机制。 但现在,仅关注所需的特定细节。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
docs/uk/docs/tutorial/security/get-current-user.md
Так само, як ми робили раніше безпосередньо в операції шляху, наша нова залежність `get_current_user` отримає `token` як `str` від підзалежності `oauth2_scheme`: {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Отримати користувача { #get-the-user } `get_current_user` використає (фальшиву) утилітну функцію, яку ми створили, що приймає `token` як `str` і повертає нашу Pydantic-модель `User`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 6.7K bytes - Click Count (0) -
docs_src/app_testing/app_b_py310/main.py
if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/") async def create_item(item: Item, x_token: str = Header()) -> Item: if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:32:24 GMT 2026 - 1.1K bytes - Click Count (0)