- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 620 for Token (0.02 sec)
-
docs_src/websockets/tutorial002_an_py310.py
<script> var ws = null; function connect(event) { var itemId = document.getElementById("itemId") var token = document.getElementById("token") ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value); ws.onmessage = function(event) { var messages = document.getElementById('messages')
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.8K bytes - Viewed (0) -
docs_src/websockets/tutorial002_py310.py
<script> var ws = null; function connect(event) { var itemId = document.getElementById("itemId") var token = document.getElementById("token") ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value); ws.onmessage = function(event) { var messages = document.getElementById('messages')
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.7K bytes - Viewed (0) -
docs_src/websockets/tutorial002_an_py39.py
<script> var ws = null; function connect(event) { var itemId = document.getElementById("itemId") var token = document.getElementById("token") ws = new WebSocket("ws://localhost:8000/items/" + itemId.value + "/ws?token=" + token.value); ws.onmessage = function(event) { var messages = document.getElementById('messages')
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/spnego/SpnegoToken.java
} /** * Encodes this SPNEGO token to a byte array * @return the encoded token bytes */ public abstract byte[] toByteArray(); /** * Parses the provided token bytes to populate this SPNEGO token * @param token the token bytes to parse * @throws IOException if parsing fails */ protected abstract void parse(byte[] token) throws IOException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (2) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Security Buffer Length assertEquals(token.length, SMBUtil.readInt2(buffer, bodyOffset + 14)); // Previous Session ID assertEquals(previousSessionId, SMBUtil.readInt8(buffer, bodyOffset + 16)); // Token content byte[] actualToken = new byte[token.length]; System.arraycopy(buffer, securityBufferOffset, actualToken, 0, token.length); assertArrayEquals(token, actualToken);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java
public String token; /** * The permissions associated with this access token. * Defines what operations and resources this token can access. */ @CustomSize(maxKey = "form.admin.max.input.size") public String permissions; /** * The parameter name for the access token. * This field specifies how the token should be passed in API requests. * Maximum length is 10000 characters.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/es/docs/tutorial/security/oauth2-jwt.md
Actualiza `get_current_user` para recibir el mismo token que antes, pero esta vez, usando tokens JWT. Decodifica el token recibido, verifícalo y devuelve el usuario actual. Si el token es inválido, devuelve un error HTTP de inmediato. {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Actualizar la *path operation* `/token` { #update-the-token-path-operation }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
Se não houver um header `Authorization`, ou se o valor não tiver um token `Bearer `, ele responderá diretamente com um erro de status 401 (`UNAUTHORIZED`). Você nem precisa verificar se o token existe para retornar um erro. Você pode ter certeza de que, se sua função for executada, ela terá uma `str` nesse token.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/es/docs/tutorial/security/first-steps.md
Si no ve un header `Authorization`, o el valor no tiene un token `Bearer `, responderá directamente con un error de código de estado 401 (`UNAUTHORIZED`). Ni siquiera tienes que verificar si el token existe para devolver un error. Puedes estar seguro de que si tu función se ejecuta, tendrá un `str` en ese token. Puedes probarlo ya en los docs interactivos:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 8.9K bytes - Viewed (0) -
docs_src/app_testing/app_b_py310/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0)