- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 465 for Credential (0.08 sec)
-
docs_src/security/tutorial006_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 361 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Authentication.java
*/ AuthScope getAuthScope(); /** * Retrieves the credentials associated with the current authentication. * * @return the credentials object containing authentication details. */ Credentials getCredentials(); /** * Retrieves the authentication scheme to be used for HTTP requests. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
app = FastAPI() 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():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
*/ /** * An abstract class for NTLM authentication in SMB1 protocol. * Provides a callback mechanism for retrieving user credentials when authentication is required. */ public abstract class NtlmAuthenticator { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
} } else { // Production: use credentials file or default credentials if (StringUtil.isNotBlank(credentialsPath)) { try (FileInputStream fis = new FileInputStream(credentialsPath)) { final GoogleCredentials credentials = GoogleCredentials.fromStream(fis); builder.setCredentials(credentials); } catch (final IOException e) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
final AuthScope authScope = getAuthScope(webAuthName, scheme, paramMap); final Credentials credentials = getCredentials(webAuthName, scheme, paramMap); basicAuthList.add(new AuthenticationImpl(authScope, credentials, authScheme)); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/extensions/s3zip/examples/minio-go/main.go
package main import ( "context" "io" "log" "os" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0) -
docs/sts/client-grants.go
if err = json.NewDecoder(resp.Body).Decode(&idpToken); err != nil { return nil, err } return &credentials.ClientGrantsToken{Token: idpToken.AccessToken, Expiry: idpToken.Expiry}, nil } func main() { flag.Parse() if clientID == "" || clientSecret == "" { flag.PrintDefaults() return } sts, err := credentials.NewSTSClientGrants(stsEndpoint, getTokenExpiry) if err != nil { log.Fatal(err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if (!this.getConfig().isAllowGuestFallback() && response.isLoggedInAsGuest() && (!this.credentials.isGuest() && !this.credentials.isAnonymous())) { throw new SmbAuthException(NtStatus.NT_STATUS_LOGON_FAILURE); } if (!this.credentials.isAnonymous() && response.isLoggedInAsGuest()) { anonymous = true; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`. {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} This would be similar to: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0)