- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 700 for Security (0.06 sec)
-
okhttp-tls/api/okhttp-tls.api
public final fun -deprecated_certificate ()Ljava/security/cert/X509Certificate; public final fun -deprecated_keyPair ()Ljava/security/KeyPair; public fun <init> (Ljava/security/KeyPair;Ljava/security/cert/X509Certificate;)V public final fun certificate ()Ljava/security/cert/X509Certificate; public final fun certificatePem ()Ljava/lang/String;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Feb 26 19:17:33 UTC 2022 - 3.7K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
//// tab | Python 3.10+ ```Python hl_lines="4 78" {!> ../../docs_src/security/tutorial003_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="4 78" {!> ../../docs_src/security/tutorial003_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="4 79" {!> ../../docs_src/security/tutorial003_an.py!} ``` //// //// tab | Python 3.10+ nicht annotiert
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
//// tab | Python 3.10+ ```Python hl_lines="63-66" {!> ../../docs_src/security/tutorial005_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="63-66" {!> ../../docs_src/security/tutorial005_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="64-67" {!> ../../docs_src/security/tutorial005_an.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 21.7K bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
```Python hl_lines="7 48 55-56 59-60 69-75" {!> ../../docs_src/security/tutorial004_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="7 48 55-56 59-60 69-75" {!> ../../docs_src/security/tutorial004_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="7 49 56-57 60-61 70-76" {!> ../../docs_src/security/tutorial004_an.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15K bytes - Viewed (0) -
mkdocs.yml
'interceptors.md': 'features/interceptors.md' 'r8_proguard.md': 'features/r8_proguard.md' # Redirect all Security pages to security/* 'security.md': 'security/security.md' 'security_providers.md': 'security/security_providers.md' 'tls_configuration_history.md': 'security/tls_configuration_history.md' # Redirect all changelog pages to changelog/* 'changelog.md': 'changelogs/changelog.md'
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 20 15:26:12 UTC 2023 - 3.8K bytes - Viewed (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
/// ```Python hl_lines="153" {!../../docs_src/security/tutorial005.py!} ``` ## 在*路径操作*与依赖项中声明作用域 接下来,为*路径操作* `/users/me/items/` 声明作用域 `items`。 为此,要从 `fastapi` 中导入并使用 `Security` 。 `Security` 声明依赖项的方式和 `Depends` 一样,但 `Security` 还能接收作用域(字符串)列表类型的参数 `scopes`。 此处使用与 `Depends` 相同的方式,把依赖项函数 `get_current_active_user` 传递给 `Security`。 同时,还传递了作用域**列表**,本例中只传递了一个作用域:`items`(此处支持传递更多作用域)。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
tests/test_security_http_base.py
from fastapi import FastAPI, Security from fastapi.security.http import HTTPAuthorizationCredentials, HTTPBase from fastapi.testclient import TestClient app = FastAPI() security = HTTPBase(scheme="Other") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.7K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional_description.py
from fastapi import FastAPI, Security from fastapi.security import OAuth2PasswordBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2PasswordBearer( tokenUrl="/token", description="OAuth2PasswordBearer security scheme", auto_error=False, ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): if token is None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
tests/test_security_openid_connect_description.py
from fastapi import Depends, FastAPI, Security from fastapi.security.open_id_connect_url import OpenIdConnect from fastapi.testclient import TestClient 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)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0)