- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 482 for credential (0.52 sec)
-
tests/test_security_http_digest_description.py
app = FastAPI() security = HTTPDigest(description="HTTPDigest scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_digest(): response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
/** * Authenticate arbitrary credentials represented by the * <code>NtlmPasswordAuthentication</code> object against the domain controller * specified by the <code>UniAddress</code> parameter. If the credentials are * not accepted, an <code>SmbAuthException</code> will be thrown. If an error * occurs an <code>SmbException</code> will be thrown. If the credentials areRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
cmd/ftp-server-driver.go
TrailingHeaders: true, }) } // ok == true - at this point if ui.Credentials.IsTemp() { // Temporary credentials are not allowed. return nil, errAuthentication } return minio.New(driver.endpoint, &minio.Options{ Creds: credentials.NewStaticV4(ui.Credentials.AccessKey, ui.Credentials.SecretKey, ""), Secure: globalIsTLS, Transport: tr, TrailingHeaders: true,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/CredentialsTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for Credentials interface functionality */ @DisplayName("Credentials Interface Tests") class CredentialsTest extends BaseTest { @Mock private Credentials mockCredentials; @Test @DisplayName("Should define interface methods") void testCredentialsInterface() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
docs_src/authentication_error_status_code/tutorial001_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 618 bytes - Viewed (0) -
tests/test_dependency_paramless.py
raise HTTPException(detail="a or b not in scopes", status_code=401) return {"token": credentials, "scopes": security_scopes.scopes} @app.get("/get-credentials") def get_credentials( credentials: Annotated[dict, Security(process_auth, scopes=["a", "b"])], ): return credentials @app.get( "/parameterless-with-scopes", dependencies=[Security(process_auth, scopes=["a", "b"])], )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
import jcifs.CIFSException; import jcifs.Credentials; /** * Internal interface for SMB credentials. * * This interface provides internal methods for managing * and accessing SMB authentication credentials. * * @author mbechler */ public interface CredentialsInternal extends Cloneable, Credentials { /** * Create a copy of the credentials. * @return a copy of the credentials */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
tests/test_security_http_bearer_optional.py
security = HTTPBearer(auto_error=False) @app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None: return {"msg": "Create an account first"} return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_bearer():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
docs/sts/tls.md
- MinIO returns temp. S3 credentials associated to the found policy. The returned credentials expiry after a certain period of time that can be configured via `&DurationSeconds=3600`. By default, the STS credentials are valid for 1 hour. The minimum expiration allowed is 15 minutes.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbRenewableCredentials.java
package jcifs.smb; /** * Interface for renewable SMB credentials. * * This interface defines methods for credentials that can be * automatically renewed during long-running operations. * * @author mbechler */ public interface SmbRenewableCredentials extends CredentialsInternal { /** * Renew the credentials * * @return the renewed credentials */ CredentialsInternal renew();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0)