- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 604 for Token (0.03 sec)
-
internal/event/target/mqtt.go
AddBroker(args.Broker.String()) target.client = mqtt.NewClient(options) token := target.client.Connect() ok := token.WaitTimeout(reconnectInterval) if !ok { return store.ErrNotConnected } if token.Error() != nil { return token.Error() } yes, err := target.isActive() if err != nil { return err } if !yes {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.2K bytes - Viewed (0) -
tests/update_test.go
} owner := TokenOwner{ Name: "user", Token: Token{Content: "token"}, } o1, err := saveTokenOwner(&owner) if err != nil { t.Errorf("failed to save token owner, got error: %v", err) } if o1.Name != "user_name" { t.Errorf(`owner name should be "user_name", but got: "%s"`, o1.Name) } if o1.Token.Content != "token_encrypted" {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
final String servletPath = request.getServletPath(); final String pathPrefix = ADMIN_SERVER + token; if (!servletPath.startsWith(pathPrefix)) { throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token."); } final String path;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 15 08:29:24 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/grid/debug.go
server.Start() return server } func dummyRequestValidate(r *http.Request) error { return nil } func dummyTokenValidate(token string) error { if token == "debug" { return nil } return fmt.Errorf("invalid token. want empty, got %s", token) } func dummyNewToken() string { return "debug"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/em/docs/tutorial/header-params.md
```Python hl_lines="7" {!> ../../docs_src/header_params/tutorial003_py310.py!} ``` //// ๐ฅ ๐ ๐ โฎ๏ธ ๐ *โก ๐ ๏ธ* ๐จ 2๏ธโฃ ๐บ๐ธ๐ ๐ ๐: ``` X-Token: foo X-Token: bar ``` ๐จ ๐ ๐: ```JSON { "X-Token values": [ "bar", "foo" ] } ``` ## ๐ ๐ฃ ๐ โฎ๏ธ `Header`, โ๏ธ ๐ โ โ `Query`, `Path` & `Cookie`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
docs_src/dependencies/tutorial012_an_py39.py
from fastapi import Depends, FastAPI, Header, HTTPException from typing_extensions import Annotated async def verify_token(x_token: Annotated[str, Header()]): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 756 bytes - Viewed (0) -
architecture/security/istio-agent.md
topologies mix and match these two. For a standard Kubernetes deployment, both CA and discovery will use JWT authentication, with a token automatically [generated and rotated by Kubernetes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection). For discovery, the JWT token will be read directly from a file and sent as is. For CA, this logic is a bit more complex,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:11:18 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/lock-rest-server-common_test.go
ll: &localLocker{ mutex: sync.Mutex{}, lockMap: make(map[string][]lockRequesterInfo), }, } creds := globalActiveCred token, err := authenticateNode(creds.AccessKey, creds.SecretKey) if err != nil { t.Fatal(err) } return fsDir, locker, token } // Test function to remove lock entries from map based on name & uid combination func TestLockRpcServerRemoveEntry(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
private val QUOTED_STRING_DELIMITERS = "\"\\".encodeUtf8() private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8() /** * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to * interpret a token. * * For example, the first line has a parameter name/value pair and the second line has a single * token68: * * ``` * WWW-Authenticate: Digest foo=bar * WWW-Authenticate: Digest foo= * ``` *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-params.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.9K bytes - Viewed (0)