- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 737 for token2 (0.04 sec)
-
internal/config/identity/openid/jwt.go
defer r.closeRespFn(resp.Body) if resp.StatusCode != http.StatusOK { return errors.New(resp.Status) } return r.pubKeys.parseAndAdd(resp.Body) } // ErrTokenExpired - error token expired var ( ErrTokenExpired = errors.New("token expired") ) func updateClaimsExpiry(dsecs string, claims map[string]any) error { expStr := claims["exp"] if expStr == "" { return ErrTokenExpired }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.4K bytes - Viewed (0) -
internal/event/target/nats.go
connOpts = append(connOpts, nats.UserInfo(n.Username, n.Password)) } if n.UserCredentials != "" { connOpts = append(connOpts, nats.UserCredentials(n.UserCredentials)) } if n.Token != "" { connOpts = append(connOpts, nats.Token(n.Token)) } if n.NKeySeed != "" { nkeyOpt, err := nats.NkeyOptionFromSeed(n.NKeySeed) if err != nil { return nil, err } connOpts = append(connOpts, nkeyOpt) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Apr 27 04:30:57 UTC 2025 - 13.5K bytes - Viewed (0) -
docs_src/request_forms_and_files/tutorial001_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 386 bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
/** * Constructs a KerberosTicket from token bytes. * * @param token the ticket token bytes * @param apOptions AP options flags * @param keys array of Kerberos keys for decryption * @throws PACDecodingException if ticket decoding fails */ public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException { if (token.length <= 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="api/oauth/authorize", tokenUrl="/api/oauth/token", scopes={"read": "Read access", "write": "Write access"}, ) async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str: return token app = FastAPI(dependencies=[Depends(get_token)])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
int byteCountValue = 16 + 10; // guid + token setByteCount(response, byteCountValue); byte[] buffer = new byte[byteCountValue]; byte[] guid = new byte[16]; for (int i = 0; i < 16; i++) { guid[i] = (byte) i; } System.arraycopy(guid, 0, buffer, 0, 16); byte[] token = new byte[10]; for (int i = 0; i < 10; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
{* ../../docs_src/security/tutorial001.py hl[6] *} /// tip | 提示 在此,`tokenUrl="token"` 指向的是暂未创建的相对 URL `token`。这个相对 URL 相当于 `./token`。 因为使用的是相对 URL,如果 API 位于 `https://example.com/`,则指向 `https://example.com/token`。但如果 API 位于 `https://example.com/api/v1/`,它指向的就是`https://example.com/api/v1/token`。 使用相对 URL 非常重要,可以确保应用在遇到[使用代理](../../advanced/behind-a-proxy.md){.internal-link target=_blank}这样的高级用例时,也能正常运行。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
* Gets the server path with access token for API requests. * * @return the complete server path including the access token * @throws FessSystemException if no access token is available */ public String getServerPath() { return getSessionManager().getAttribute(Constants.SEARCH_ENGINE_API_ACCESS_TOKEN, String.class) .map(token -> ADMIN_SERVER + token)Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 12.9K bytes - Viewed (0) -
docs_src/app_testing/app_b_an_py310/main.py
if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
/** * Constructs KerberosRelevantAuthData from token bytes. * * @param token the authorization data token * @param keys map of Kerberos keys indexed by key type * @throws PACDecodingException if decoding fails */ public KerberosRelevantAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException { ASN1Sequence authSequence;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0)