- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 759 for severity (0.12 sec)
-
tests/test_security_oauth2.py
from dirty_equals import IsDict from fastapi import Depends, FastAPI, Security from fastapi.security import OAuth2, OAuth2PasswordRequestFormStrict from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, } } )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.7K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.survey import java.security.Security import okhttp3.Cache import okhttp3.OkHttpClient import okhttp3.survey.ssllabs.SslLabsClient import okhttp3.survey.types.Client import okhttp3.survey.types.SuiteId import okio.FileSystem
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/zh/docs/advanced/security/index.md
# 高级安全 ## 附加特性 除 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank} 中涵盖的功能之外,还有一些额外的功能来处理安全性. /// tip | "小贴士" 接下来的章节 **并不一定是 "高级的"**. 而且对于你的使用场景来说,解决方案很可能就在其中。 /// ## 先阅读教程 接下来的部分假设你已经阅读了主要的 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank}.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 607 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/JSSETest.kt
} assertThat(response.connection.socket().javaClass.name).isEqualTo( "sun.security.ssl.SSLSocketImpl", ) } } @Test fun testSupportedProtocols() { val factory = SSLSocketFactory.getDefault() assertThat(factory.javaClass.name).isEqualTo("sun.security.ssl.SSLSocketFactoryImpl") val s = factory.createSocket() as SSLSocket when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 5.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial001_an.py
from fastapi.testclient import TestClient from docs_src.security.tutorial001_an import app client = TestClient(app) def test_no_token(): response = client.get("/items") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
docs/security/security_providers.md
Security Providers ================== ## Provider Status | Provider | HTTP/2 | TLSv1.3 | Powered By | Notes | | :--------------- | :------ | :----------- | :-------------- | :----------------------------------------------------------- | | JVM default | Java 9+ | Java 11+ | [OpenJDK] | |
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 1.7K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
}, { proxyName: "istio-security-post-install-1.2.2-bm9w2.istio-system", namespace: "istio-system", wantPodName: "istio-security-post-install-1.2.2-bm9w2", wantNamespace: "istio-system", }, { proxyName: "istio-security-post-install-1.2.2-bm9w2.istio-system", namespace: "", wantPodName: "istio-security-post-install-1.2.2-bm9w2", wantNamespace: "istio-system", },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
+ Hexdump.toHexString(this.server.securityMode, 1) + ",security=" + ( this.server.security == SmbConstants.SECURITY_SHARE ? "share" : "user" ) + ",encryptedPasswords="
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
import static java.lang.Math.min; import com.google.common.primitives.Longs; import java.lang.reflect.Field; import java.nio.ByteOrder; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import sun.misc.Unsafe; /** * Utility functions for loading and storing values from a byte array. * * @author Kevin Damm
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006.py
from base64 import b64encode from fastapi.testclient import TestClient from docs_src.security.tutorial006 import app client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0)