- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,006 for security1 (0.06 seconds)
-
docs/zh-hant/docs/tutorial/security/oauth2-jwt.md
建立一個權杖有效期的變數。 定義一個用於權杖端點回應的 Pydantic Model。 建立一個工具函式來產生新的 access token。 {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 更新相依項目 { #update-the-dependencies } 更新 `get_current_user`,讓它仍接收相同的權杖,但這次改用 JWT 權杖。 解碼收到的權杖、驗證它,並回傳目前的使用者。 如果權杖無效,立即回傳一個 HTTP 錯誤。 {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## 更新 `/token` 路徑操作 { #update-the-token-path-operation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/oauth2-jwt.md
创建一个变量用于设置令牌的过期时间。 定义一个用于令牌端点响应的 Pydantic 模型。 创建一个生成新访问令牌的工具函数。 {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 更新依赖项 { #update-the-dependencies } 更新 `get_current_user` 以接收与之前相同的令牌,但这次使用的是 JWT 令牌。 解码接收到的令牌,进行校验,并返回当前用户。 如果令牌无效,立即返回一个 HTTP 错误。 {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## 更新 `/token` 路径操作 { #update-the-token-path-operation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
return ("SmbComNegotiateResponse[" + super.toString() + ",wordCount=" + wordCount + ",dialectIndex=" + dialectIndex + ",securityMode=0x" + Hexdump.toHexString(server.securityMode, 1) + ",security=" + (server.security == SECURITY_SHARE ? "share" : "user") + ",encryptedPasswords=" + server.encryptedPasswords
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (0) -
.github/workflows/scorecards-analysis.yml
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ name: Scorecards supply-chain security on: # For Branch-Protection check. Only the default branch is supported. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection branch_protection_rule:
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/en/docs/how-to/authentication-error-status-code.md
# Use Old 403 Authentication Error Status Codes { #use-old-403-authentication-error-status-codes } Before FastAPI version `0.122.0`, when the integrated security utilities returned an error to the client after a failed authentication, they used the HTTP status code `403 Forbidden`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util; import java.security.GeneralSecurityException; import java.security.SecureRandom; import java.security.spec.KeySpec; import java.util.Arrays; import java.util.Base64; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug-report.yaml
description: | Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. If this matter is security related, please disclose it privately via https://kubernetes.io/security validations: required: true - type: textarea id: expected attributes: label: What did you expect to happen? validations: required: trueCreated: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Mon Feb 28 09:34:43 GMT 2022 - 2.2K bytes - Click Count (0) -
docs_src/security/tutorial003_an_py310.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from pydantic import BaseModel fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "******@****.***", "hashed_password": "fakehashedsecret", "disabled": False, }, "alice": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java
* a handle to a specific domain in the Security Account Manager. */ public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain { /** * Creates a new request to open a domain handle. * * @param handle the SAM policy handle * @param access the desired access rights * @param sid the security identifier of the domain * @param domainHandle the domain handle to be populatedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import java.security.GeneralSecurityException; import java.security.MessageDigest; import javax.crypto.Cipher; import javax.crypto.ShortBufferException; import jcifs.CIFSContext; import jcifs.util.Crypto; import jcifs.util.Encdec;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0)