- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 891 for severity (0.31 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
} @Test void testGetSecurityWithValidSecurityDescriptor() throws Exception { // Setup mock ShareInfo502 with a minimal valid security descriptor srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); // Create a minimal valid security descriptor binary // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimumRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
If the token is invalid, return an HTTP error right away. {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Update the `/token` *path operation* { #update-the-token-path-operation } Create a `timedelta` with the expiration time of the token. Create a real JWT access token and return it. {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py310.py
from datetime import datetime, timedelta, timezone from typing import Annotated import jwt from fastapi import Depends, FastAPI, HTTPException, Security, status from fastapi.security import ( OAuth2PasswordBearer, OAuth2PasswordRequestForm, SecurityScopes, ) from jwt.exceptions import InvalidTokenError from pwdlib import PasswordHash from pydantic import BaseModel, ValidationError # to get a string like this run:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.py
from datetime import datetime, timedelta, timezone from typing import Annotated, Union import jwt from fastapi import Depends, FastAPI, HTTPException, Security, status from fastapi.security import ( OAuth2PasswordBearer, OAuth2PasswordRequestForm, SecurityScopes, ) from jwt.exceptions import InvalidTokenError from pwdlib import PasswordHash from pydantic import BaseModel, ValidationError # to get a string like this run:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/sts/client-grants.md
the identity of the caller is validated by using a JWT access token from the identity provider. The temporary security credentials returned by this API consists of an access key, a secret key, and a security token. Applications can use these temporary security credentials to sign calls to MinIO API operations. By default, the temporary security credentials created by AssumeRoleWithClientGrants last for one hour. However, use the optional DurationSeconds parameter to specify the duration of the...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 7.2K bytes - Viewed (0) -
internal/config/browser/browser.go
// Browser sub-system constants const ( // browserCSPPolicy setting name for Content-Security-Policy response header value browserCSPPolicy = "csp_policy" // browserHSTSSeconds setting name for Strict-Transport-Security response header, amount of seconds for 'max-age' browserHSTSSeconds = "hsts_seconds" // browserHSTSIncludeSubdomains setting name for Strict-Transport-Security response header 'includeSubDomains' flag (true or false)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jun 21 00:58:58 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java
ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /** * Returns the security descriptor of the share as an array of ACEs. * * @return an array of ACE objects representing the share's security descriptor * @throws IOException if there is an error retrieving the security information */ public ACE[] getSecurity() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
tests/test_dependency_cache.py
): return {"counter": count, "subcounter": subcount} @app.get("/scope-counter") async def get_scope_counter( count: int = Security(dep_counter), scope_count_1: int = Security(dep_counter, scopes=["scope"]), scope_count_2: int = Security(dep_counter, scopes=["scope"]), ): return { "counter": count, "scope_counter_1": scope_count_1, "scope_counter_2": scope_count_2,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0) -
tests/test_webhooks_security.py
from datetime import datetime from typing import Annotated from fastapi import FastAPI, Security from fastapi.security import HTTPBearer from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() bearer_scheme = HTTPBearer() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/zh/docs/advanced/security/http-basic-auth.md
* 导入 `HTTPBasic` 与 `HTTPBasicCredentials` * 使用 `HTTPBasic` 创建**安全概图** * 在*路径操作*的依赖项中使用 `security` * 返回类型为 `HTTPBasicCredentials` 的对象: * 包含发送的 `username` 与 `password` {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *} 第一次打开 URL(或在 API 文档中点击 **Execute** 按钮)时,浏览器要求输入用户名与密码: <img src="/img/tutorial/security/image12.png"> ## 检查用户名 以下是更完整的示例。 使用依赖项检查用户名与密码是否正确。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0)