- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 652 for Baruth (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/Credentials.kt
package okhttp3 import java.nio.charset.Charset import kotlin.text.Charsets.ISO_8859_1 import okio.ByteString.Companion.encode /** Factory for HTTP authorization credentials. */ object Credentials { /** Returns an auth credential for the Basic scheme. */ @JvmStatic @JvmOverloads fun basic( username: String, password: String, charset: Charset = ISO_8859_1, ): String {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006_an.py
from fastapi.testclient import TestClient from docs_src.security.tutorial006_an import app client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/jwt.go
package cmd import ( "errors" "net/http" "time" jwtgo "github.com/golang-jwt/jwt/v4" jwtreq "github.com/golang-jwt/jwt/v4/request" "github.com/minio/minio/internal/auth" xjwt "github.com/minio/minio/internal/jwt" "github.com/minio/pkg/v3/policy" ) const ( jwtAlgorithm = "Bearer" // Default JWT token for web handlers is one day. defaultJWTExpiry = 24 * time.Hour
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 4.5K bytes - Viewed (0) -
internal/logger/reqinfo.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "context" "fmt" "sync" "github.com/minio/minio/internal/auth" ) // Key used for Get/SetReqInfo type contextKeyType string const contextLogKey = contextKeyType("miniolog") // KeyVal - appended to ReqInfo.Tags type KeyVal struct { Key string Val string }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
import static com.google.common.primitives.Floats.min; import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.Float.NaN; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
import static com.google.common.primitives.Ints.min; import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
import static com.google.common.primitives.Doubles.min; import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.Double.NaN; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
import static com.google.common.primitives.Floats.min; import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.Float.NaN; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
import static com.google.common.primitives.Longs.min; import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.Long.MAX_VALUE; import static java.lang.Long.MIN_VALUE; import com.google.common.annotations.GwtCompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
tests/test_security_http_basic_realm_description.py
return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.8K bytes - Viewed (0)