- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 575 for Basic2 (0.11 seconds)
-
fastapi/security/http.py
class HTTPBasicCredentials(BaseModel): """ The HTTP Basic credentials given as the result of using `HTTPBasic` in a dependency. Read more about it in the [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). """ username: Annotated[str, Doc("The HTTP Basic username.")] password: Annotated[str, Doc("The HTTP Basic password.")]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
.add("WWW-Authenticate", "Basic realm=myrealm") .add("WWW-Authenticate", "Basic realm=myotherrealm") .build() assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly( Challenge("Basic", mapOf("realm" to "myrealm")), Challenge("Basic", mapOf("realm" to "myotherrealm")), ) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 16.8K bytes - Click Count (0) -
.idea/scopes/Gradle_public_API.xml
<component name="DependencyValidationManager"> <!-- The source of truth for this pattern is `build-logic/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt` file, please keep them in sync --> <scope name="Gradle public API"
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 18 15:08:47 GMT 2024 - 1.5K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
"/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}"Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
internal/jwt/parser_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
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"' assert response.json() == {"detail": "Not authenticated"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
* See the License for the specific language governing permissions and * limitations under the License. */ import gradlebuild.EnrichedReportRenderer import gradlebuild.basics.GradleModuleApiAttribute import gradlebuild.basics.PublicApi import gradlebuild.basics.PublicKotlinDslApi import gradlebuild.binarycompatibility.BinaryCompatibilityHelper import gradlebuild.binarycompatibility.CleanAcceptedApiChanges
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt
object Credentials { /** Returns an auth credential for the Basic scheme. */ @JvmStatic @JvmOverloads fun basic( username: String, password: String, charset: Charset = ISO_8859_1, ): String { val usernameAndPassword = "$username:$password" val encoded = usernameAndPassword.encode(charset).base64() return "Basic $encoded" }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.1K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.basics.util import gradlebuild.basics.kotlindsl.configureKotlinCompilerForGradleBuild import org.gradle.internal.jvm.Jvm import org.jetbrains.kotlin.K1Deprecation import org.jetbrains.kotlin.cli.common.config.addKotlinSourceRoots
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 18 05:37:07 GMT 2026 - 3.9K bytes - Click Count (0) -
build-logic-commons/settings.gradle.kts
gradlePluginPortal() } } plugins { id("gradlebuild.version-catalogs") id("gradlebuild.default-settings-plugins") } 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")
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 09:06:26 GMT 2026 - 1.4K bytes - Click Count (0)