- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 647 for token2 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/grid/msg_gen.go
return } case "Time": z.Time, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "Time") return } case "Token": z.Token, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Token") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 22.4K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py39/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:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 15 22:31:16 GMT 2024 - 1.1K bytes - Click Count (0) -
src/main/resources/fess_indices/fess_config.access_token/access_token.json
{ "properties": { "name": { "type": "keyword" }, "token": { "type": "keyword" }, "permissions": { "type": "keyword" }, "parameter_name" : { "type": "keyword" }, "expiredTime": { "type": "long" }, "createdBy": { "type": "keyword" }, "createdTime": { "type": "long" },Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Dec 02 13:14:56 GMT 2021 - 529 bytes - Click Count (0) -
docs_src/header_params/tutorial003_an_py310.py
from typing import Annotated from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(x_token: Annotated[list[str] | None, Header()] = None):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 221 bytes - Click Count (0) -
docs_src/header_params/tutorial003_py39.py
from typing import Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(x_token: Union[list[str], None] = Header(default=None)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 218 bytes - Click Count (0) -
tests/test_security_http_bearer_description.py
from fastapi import FastAPI, Security from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer from fastapi.testclient import TestClient app = FastAPI() security = HTTPBearer(description="HTTP Bearer token scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.3K bytes - Click Count (0) -
internal/jwt/parser_test.go
err = ParseWithStandardClaims(data.tokenString, &StandardClaims{}, []byte("HelloSecret")) } if data.valid && err != nil { t.Errorf("Error while verifying token: %T:%v", err, err) } if !data.valid && err == nil { t.Errorf("Invalid token passed validation") } if data.errors != 0 { _, ok := err.(*jwt.ValidationError) if !ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
.github/workflows/add-to-project.yml
name: Add to project runs-on: ubuntu-latest steps: - uses: actions/add-to-project@v1.0.2 with: project-url: https://github.com/orgs/fastapi/projects/2Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Aug 13 02:00:25 GMT 2024 - 368 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/AccessToken.java
public void setExpires(final Date date) { setExpiredTime(date != null ? date.getTime() : null); } @Override public String toString() { return "AccessToken [name=" + name + ", token=" + token + ", permissions=" + Arrays.toString(permissions) + ", parameterName=" + parameterName + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", updatedBy=" + updatedByCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 1.9K bytes - Click Count (0) -
docs_src/authentication_error_status_code/tutorial001_an_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 618 bytes - Click Count (0)