- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,972 for tolen (0.07 sec)
-
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/generated.proto
// Status is filled in by the server and indicates whether the token can be authenticated. // +optional optional TokenReviewStatus status = 3; } // TokenReviewSpec is a description of the token authentication request. message TokenReviewSpec { // Token is the opaque bearer token. // +optional optional string token = 1; // Audiences is a list of the identifiers that the resource server presented
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 5.3K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial003.py
@pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"X-Token values": None}), ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}), ( "/items", [("x-token", "foo"), ("x-token", "bar")], 200, {"X-Token values": ["foo", "bar"]}, ), ], ) def test(path, headers, expected_status, expected_response):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 12 14:52:00 UTC 2024 - 4.1K bytes - Viewed (0) -
src/log/slog/example_logvaluer_secret_test.go
package slog_test import ( "log/slog" "log/slog/internal/slogtest" "os" ) // A token is a secret value that grants permissions. type Token string // LogValue implements slog.LogValuer. // It avoids revealing the token. func (Token) LogValue() slog.Value { return slog.StringValue("REDACTED_TOKEN") } // This example demonstrates a Value that replaces itself
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 906 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsAccessTokenCQ.java
public void setToken_Equal(String token) { setToken_Term(token, null); } public void setToken_Equal(String token, ConditionOptionCall<TermQueryBuilder> opLambda) { setToken_Term(token, opLambda); } public void setToken_Term(String token) { setToken_Term(token, null); } public void setToken_Term(String token, ConditionOptionCall<TermQueryBuilder> opLambda) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 71.8K bytes - Viewed (0) -
docs_src/security/tutorial002_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" ) async def get_current_user(token: str = Depends(oauth2_scheme)):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 711 bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an.py
response = client.get("/items/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_get_invalid_one_users(): response = client.get("/users/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/kubeadm/test/cmd/join_test.go
} } func TestCmdJoinDiscoveryToken(t *testing.T) { var initTest = []struct { name string args string expected bool }{ {"valid discovery token", "--discovery-token=foobar", false}, {"valid discovery token url", "--discovery-token=token://asdf:asdf", false}, } kubeadmPath := getKubeadmPath() for _, rt := range initTest { t.Run(rt.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 08 21:47:16 UTC 2020 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go
const ( invalidTokenWithSpaceWarning = "the provided Authorization header contains extra space before the bearer token, and is ignored" ) type Authenticator struct { auth authenticator.Token } func New(auth authenticator.Token) *Authenticator { return &Authenticator{auth} } var invalidToken = errors.New("invalid bearer token") func (a *Authenticator) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 25 13:22:28 UTC 2022 - 2K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/mock.go
"istio.io/istio/pkg/log" ) const fakeTokenPrefix = "fake-token-" var mockcredLog = log.RegisterScope("mockcred", "Mock credential fetcher for istio agent") // MockPlugin is the plugin object. type MockPlugin struct { token string } // CreateMockPlugin creates a mock credential fetcher plugin. Return the pointer to the created plugin. func CreateMockPlugin(token string) *MockPlugin { p := &MockPlugin{ token: token, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0)