- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,006 for Security (0.08 seconds)
-
tests/test_dependency_security_overrides.py
from fastapi import Depends, FastAPI, Security from fastapi.security import SecurityScopes from fastapi.testclient import TestClient app = FastAPI() def get_user(required_scopes: SecurityScopes): return "john", required_scopes.scopes def get_user_override(required_scopes: SecurityScopes): return "alice", required_scopes.scopes def get_data(): return [1, 2, 3] def get_data_override():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.4K bytes - Click Count (1) -
docs_src/security/tutorial005_py310.py
from datetime import datetime, timedelta, timezone 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: # openssl rand -hex 32
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
* It includes server address, port number, username, and password. * It also provides a method to check if the authentication matches a given FTP path. * * <p><b>Security Note:</b> This class stores credentials in memory. For security best practices: * <ul> * <li>Call {@link #clearCredentials()} after authentication is complete to clear sensitive data from memory</li>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 09:30:17 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/en/docs/features.md
### Security and authentication { #security-and-authentication } Security and authentication integrated. Without any compromise with databases or data models. All the security schemes defined in OpenAPI, including: * HTTP Basic. * **OAuth2** (also with **JWT tokens**). Check the tutorial on [OAuth2 with JWT](tutorial/security/oauth2-jwt.md). * API keys in: * Headers.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
fastapi/__init__.py
from .param_functions import Form as Form from .param_functions import Header as Header from .param_functions import Path as Path from .param_functions import Query as Query from .param_functions import Security as Security from .requests import Request as Request from .responses import Response as Response from .routing import APIRouter as APIRouter from .websockets import WebSocket as WebSocket
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:21:01 GMT 2026 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
* @param securityMode * the security mode flags for the session * @param capabilities * the client capabilities * @param previousSessionid * the previous session ID for reconnection (or 0 for new session) * @param token * the security token for authentication */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacGroup.java
/** * Constructs a PAC group entry. * @param id the group's Security Identifier (SID) * @param attributes the group membership attributes */ public PacGroup(final SID id, final int attributes) { this.id = id; this.attributes = attributes; } /** * Returns the group's Security Identifier. * @return the group SID */ public SID getId() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java
* such as security descriptor queries and file change notifications. */ public abstract class SmbComNtTransaction extends SmbComTransaction { // relative to headerStart private static final int NTT_PRIMARY_SETUP_OFFSET = 71; private static final int NTT_SECONDARY_PARAMETER_OFFSET = 51; /** * NT transaction function code for querying security descriptors.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
public static final int DELETE = 0x00010000; // 16 /** Permission to read the security descriptor */ public static final int READ_CONTROL = 0x00020000; // 17 /** Permission to write the discretionary access control list */ public static final int WRITE_DAC = 0x00040000; // 18 /** Permission to change the owner in the security descriptor */ public static final int WRITE_OWNER = 0x00080000; // 19Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (0) -
fastapi/security/open_id_connect_url.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 3.1K bytes - Click Count (0)