- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 998 for taken (0.02 sec)
-
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 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (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/2Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 13 02:00:25 UTC 2024 - 368 bytes - Viewed (0) -
cmd/signature-v4.go
if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) { return ErrContentSHA256Mismatch } // Verify if security token is correct. if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 { return ErrInvalidToken } // Verify finally if signature is same. // Get canonical request.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
docs_src/header_params/tutorial003_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(x_token: Annotated[Union[list[str], None], Header()] = None):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 234 bytes - Viewed (0) -
docs_src/authentication_error_status_code/tutorial001_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 618 bytes - Viewed (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}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.3K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java
*/ Source getGlobalToolchainsSource(); /** * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains * take precedence. * * @param globalToolchainsSource The global toolchains source, may be {@code null} to disable global toolchains. * @return This request, never {@code null}. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 05 09:37:42 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java
@Override public int remainingCapacity() { return delegate().remainingCapacity(); } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override public E take() throws InterruptedException { return delegate().take(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Obter o usuário { #get-the-user } `get_current_user` usará uma função utilitária (falsa) que criamos, que recebe um token como uma `str` e retorna nosso modelo Pydantic `User`:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/batch-jobs/README.md
# value: "image/*" # match objects with 'content-type', with all values starting with 'image/' notify: endpoint: "https://notify.endpoint" # notification endpoint to receive job status events token: "Bearer xxxxx" # optional authentication token for the notification endpoint retry: attempts: 10 # number of retries for the job before giving up delay: "500ms" # least amount of delay between each retry ```
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 06 06:00:43 UTC 2022 - 4.8K bytes - Viewed (0)