- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 767 for token (0.02 sec)
-
tests/test_tutorial/test_websockets/test_tutorial002_py310.py
with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/bar/ws?token=some-token") as websocket: message = "Message one" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: some-token" data = websocket.receive_text()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java
String token = JsonPath.from(response).get("response.setting.token"); checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then() .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name)) .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token)); } @Test void crudTest() { testCreate();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
response = client.get("/users?token=monica") assert response.status_code == 400 assert response.json() == {"detail": "No Jessica token provided"} @needs_py39 def test_items_token_jessica(client: TestClient): response = client.get( "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
for (String token : range.split(",")) { if (token.startsWith("[")) { ranges.add(new RangeValue(token.replace("[", ""), true)); } else if (token.startsWith("(")) { ranges.add(new RangeValue(token.replace("(", ""), false)); } else if (token.endsWith("]")) { ranges.add(new RangeValue(token.replace("]", ""), true));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
* Die API überprüft den `username` und das `password` und antwortet mit einem „Token“ (wir haben davon noch nichts implementiert). * Ein „Token“ ist lediglich ein String mit einem Inhalt, den wir später verwenden können, um diesen Benutzer zu verifizieren. * Normalerweise läuft ein Token nach einiger Zeit ab.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset); dstIndex += pad8(dstIndex); if ( this.token != null ) { System.arraycopy(this.token, 0, dst, dstIndex, this.token.length);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.2K bytes - Viewed (0) -
docs/sts/client-grants.md
## API Request Parameters ### Token The OAuth 2.0 access token that is provided by the identity provider. Application must get this token by authenticating the application using client credential grants before the application makes an AssumeRoleWithClientGrants call.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosAuthData.java
public static List<KerberosAuthData> parse ( int authType, byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException { List<KerberosAuthData> authorizations = new ArrayList<>(); switch ( authType ) { case KerberosConstants.AUTH_DATA_RELEVANT: authorizations = new KerberosRelevantAuthData(token, keys).getAuthorizations(); break;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial006_an.py
def test_get_invalid_one_header(): response = client.get("/items/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_get_invalid_second_header(): response = client.get( "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 5K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
/// ## Den Token zurückgeben Die Response des `token`-Endpunkts muss ein JSON-Objekt sein. Es sollte einen `token_type` haben. Da wir in unserem Fall „Bearer“-Token verwenden, sollte der Token-Typ "`bearer`" sein. Und es sollte einen `access_token` haben, mit einem String, der unseren Zugriffstoken enthält.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0)