Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,020 for basic_ (0.18 sec)

  1. tests/test_security_http_basic_realm_description.py

        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
    
    
    def test_security_http_basic_invalid_credentials():
        response = client.get(
            "/users/me", headers={"Authorization": "Basic notabase64token"}
        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. build-logic-commons/settings.gradle.kts

            gradlePluginPortal()
        }
    }
    
    plugins {
        id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
    }
    
    includeBuild("../build-logic-settings")
    
    // Shared basics for all
    include("basics")
    
    // Platform: defines shared dependency versions
    include("build-platform")
    
    // Compute the identity/version we are building and related details (like current git commit)
    include("module-identity")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 06:19:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.identity.tasks
    
    import gradlebuild.basics.BuildEnvironment
    import gradlebuild.basics.util.ReproduciblePropertiesWriter
    import org.gradle.api.DefaultTask
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        url = server.url("/api/login?user=test_user&authentication=basic&password=confidential_password")
        val networkInterceptor =
          HttpLoggingInterceptor(networkLogs).setLevel(
            Level.BASIC,
          )
        networkInterceptor.redactQueryParams("user", "passWord")
    
        val applicationInterceptor =
          HttpLoggingInterceptor(applicationLogs).setLevel(
            Level.BASIC,
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    (insecureBasic || request.isSecure());
            String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") ||
                        (offerBasic && msg.startsWith("Basic ")))) {
                if( loadBalance ) {
                    dc = new UniAddress( NbtAddress.getByName( domainController, 0x1C, null ));
                } else {
                    dc = UniAddress.getByName( domainController, true );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse(
            code = 401,
            headers = headersOf("WWW-Authenticate", "Basic realm=\"protected area\""),
          ),
        )
        server.enqueue(
          MockResponse(body = "c"),
        )
        val authenticator =
          RecordingOkAuthenticator(
            basic("jesse", "peanutbutter"),
            "Basic",
          )
        client =
          client.newBuilder()
            .authenticator(authenticator)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.attributes.Attribute
    
    
    enum class GradleModuleApiAttribute {
        API,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 864 bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/repositories-extensions.kt

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.artifacts.dsl.RepositoryHandler
    
    
    fun RepositoryHandler.googleApisJs() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. docs_src/security/tutorial007_an_py39.py

            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: Annotated[str, Depends(get_current_username)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top