- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 486 for Credential (0.37 seconds)
-
docs/zh-hant/docs/advanced/security/http-basic-auth.md
為了處理這點,我們會先將 `username` 與 `password` 以 UTF-8 編碼成 `bytes`。 接著我們可以使用 `secrets.compare_digest()` 來確認 `credentials.username` 等於 `"stanleyjobson"`,而 `credentials.password` 等於 `"swordfish"`。 {* ../../docs_src/security/tutorial007_an_py310.py hl[1,12:24] *} 這大致等同於: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # 回傳錯誤 ... ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.7K bytes - Click Count (0) -
helm/minio/templates/_helper_create_user.txt
# createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 12 23:43:32 GMT 2023 - 3.2K bytes - Click Count (0) -
.github/workflows/update-perf-test-buckets.yml
runs-on: ubuntu-latest if: github.repository == 'gradle/gradle' steps: - name: Checkout repository uses: actions/checkout@v6 - name: configure aws credentials uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all aws-region: "eu-central-1" - name: get secretsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 1.9K bytes - Click Count (0) -
cmd/iam-etcd-store.go
if u.Credentials.IsTemp() { // We should delete such that the client can re-request // for the expiring credentials. deleteKeyEtcd(ctx, ies.client, getUserIdentityPath(user, userType)) deleteKeyEtcd(ctx, ies.client, getMappedPolicyPath(user, userType, false)) } return nil } u.Credentials.Claims = jwtClaims.Map() } if u.Credentials.Description == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Simple memory management tests to validate basic resource cleanup functionality */ public class SimpleMemoryManagementTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig; private Credentials mockCredentials; private CredentialsInternal mockCredentialsInternal;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.7K bytes - Click Count (0) -
tests/test_security_http_basic_realm.py
from inline_snapshot import snapshot app = FastAPI() security = HTTPBasic(realm="simple") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.crawler.Constants; import org.codelibs.fess.exception.StorageException; import software.amazon.awssdk.auth.credentials.AwsBasicCredentials; import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider; import software.amazon.awssdk.core.sync.RequestBody; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.s3.S3Client;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.9K bytes - Click Count (0) -
cmd/bucket-policy.go
return &PolicySys{} } func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { m := make(map[string][]string) if d := r.Form.Get("DurationSeconds"); d != "" { m["DurationSeconds"] = []string{d} } return m } func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { currTime := UTCNow() var ( username = cred.AccessKey
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/cors/CorsHandler.java
*/ protected static final String ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK = "Access-Control-Allow-Private-Network"; /** * CORS header for allowing credentials. */ protected static final String ACCESS_CONTROL_ALLOW_CREDENTIALS = "Access-Control-Allow-Credentials"; /** * CORS header for specifying cache duration for preflight requests. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
.github/workflows/update-test-buckets.yml
runs-on: ubuntu-latest if: github.repository == 'gradle/gradle' steps: - name: Checkout repository uses: actions/checkout@v6 - name: configure aws credentials uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all aws-region: "eu-central-1" - name: get secretsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 2.4K bytes - Click Count (0)