- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 359 for account2 (0.09 seconds)
-
tests/test_security_api_key_header_optional.py
return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
security = HTTPBasic(auto_error=False) @app.get("/users/me") def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)): if credentials is None: return {"msg": "Create an account first"} return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret"))
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_oauth2(): response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException { // This test is theoretical as we can't create huge buffers // but tests the boundary conditions if (aceCount <= 10) { // Only test small counts practically byte[] buffer = new byte[2048]; prepareSecurityDescriptorBufferWithDACL(buffer, 0, aceCount);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
schema/schema_test.go
f.Creatable = true f.Updatable = true f.Readable = true }) } // check relations relations := []Relation{ { Name: "Account", Type: schema.HasOne, Schema: "User", FieldSchema: "Account", References: []Reference{{"ID", "User", "UserID", "Account", "", true}}, }, { Name: "Pets", Type: schema.HasMany, Schema: "User", FieldSchema: "Pet",Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
SID_NAME_DOMAIN = 3, /* domain: don't know what this is */ SID_NAME_ALIAS = 4, /* local group */ SID_NAME_WKN_GRP = 5, /* well-known group */ SID_NAME_DELETED = 6, /* deleted account: needed for c2 rating */ SID_NAME_INVALID = 7, /* invalid account */ SID_NAME_UNKNOWN = 8 /* oops. */ } LsarSidType; typedef struct { LsarSidType sid_type; uint32_t rid; uint32_t sid_index; } LsarTranslatedSid;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.1K bytes - Click Count (3) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
SID_NAME_DOMAIN = 3, /* domain: don't know what this is */ SID_NAME_ALIAS = 4, /* local group */ SID_NAME_WKN_GRP = 5, /* well-known group */ SID_NAME_DELETED = 6, /* deleted account: needed for c2 rating */ SID_NAME_INVALID = 7, /* invalid account */ SID_NAME_UNKNOWN = 8 /* oops. */ } LsarSidType; typedef struct { LsarSidType sid_type; uint32_t rid; uint32_t sid_index; } LsarTranslatedSid;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
if (allowedSids != null) { for (final SID sid : allowedSids) { final String accountId = sambaHelper.getAccountId(sid); if (accountId != null) { roleTypeList.add(accountId); } } }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/EditForm.java
* This form extends CreateForm to include fields necessary for updating existing user entries, * including tracking information for optimistic locking. * Users represent individual accounts that can access and search within the system. * */ public class EditForm extends CreateForm { /** * Creates a new EditForm instance. */ public EditForm() { super(); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2.java
*/ package jcifs.smb1.dcerpc.msrpc; /** * MSRPC implementation for connecting to the SAM service. * This class provides functionality to establish a connection to the * Security Account Manager (SAM) database using the SAMR RPC interface. */ public class MsrpcSamrConnect2 extends samr.SamrConnect2 { /** * Creates a new request to connect to the SAM service. *
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0)