- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for oid (0.04 seconds)
-
tests/test_security_openid_connect_optional.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.6K bytes - Click Count (0) -
tests/test_security_openid_connect.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): user = User(username=oauth_header) return user @app.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.5K bytes - Click Count (0) -
tests/test_security_openid_connect_description.py
from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect( openIdConnectUrl="/openid", description="OpenIdConnect security scheme" ) class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): user = User(username=oauth_header) return user @app.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.6K bytes - Click Count (0) -
api/go1.26.txt
pkg crypto/tls, type ConnectionState struct, HelloRetryRequest bool #74425 pkg crypto/tls, type QUICEvent struct, Err error #75108 pkg crypto/x509, func OIDFromASN1OID(asn1.ObjectIdentifier) (OID, error) #75325 pkg crypto/x509, method (ExtKeyUsage) OID() OID #75325 pkg crypto/x509, method (ExtKeyUsage) String() string #56866 pkg crypto/x509, method (KeyUsage) String() string #56866 pkg debug/elf, const R_LARCH_CALL36 = 110 #75562
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
7}, crypto.SHA3_256: {2, 16, 840, 1, 101, 3, 4, 2, 8}, crypto.SHA3_384: {2, 16, 840, 1, 101, 3, 4, 2, 9}, crypto.SHA3_512: {2, 16, 840, 1, 101, 3, 4, 2, 10}, } for h, oid := range prefixes { want, err := asn1.Marshal(struct { HashAlgorithm pkix.AlgorithmIdentifier Hash []byte }{ HashAlgorithm: pkix.AlgorithmIdentifier{ Algorithm: oid, Parameters: asn1.NullRawValue, }, Hash: make([]byte, h.Size()), }) if err != nil { t.Fatal(err) } want = want[:len(want)-h.Size()] got := hashPrefixes[h.String()] if...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)