- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 695 for Token (0.02 seconds)
-
internal/config/identity/plugin/config.go
minValidityDurationSeconds int = 900 maxValidityDurationSeconds int = 365 * 24 * 3600 ) // Authenticate authenticates the token with the external hook endpoint and // returns a parent user, max expiry duration for the authentication and a set // of claims. func (o *AuthNPlugin) Authenticate(roleArn arn.ARN, token string) (AuthNResponse, error) { if o == nil { return AuthNResponse{}, nil } if roleArn != o.args.RoleARN {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, } }, auto_error=False, ) class User(BaseModel): username: str
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/oauth2-jwt.md
定義一個用於權杖端點回應的 Pydantic Model。 建立一個工具函式來產生新的 access token。 {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *} ## 更新相依項目 { #update-the-dependencies } 更新 `get_current_user`,讓它仍接收相同的權杖,但這次改用 JWT 權杖。 解碼收到的權杖、驗證它,並回傳目前的使用者。 如果權杖無效,立即回傳一個 HTTP 錯誤。 {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## 更新 `/token` 路徑操作 { #update-the-token-path-operation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.1K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+multijob+third-party-tests-gcs.yml
#!/usr/local/bin/runbld --redirect-stderr set -euo pipefail export google_storage_service_account=$(pwd)/gcs_service_account.json set +x VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id=$VAULT_ROLE_ID secret_id=$VAULT_SECRET_ID) export VAULT_TOKENCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu May 06 21:46:09 GMT 2021 - 1.3K bytes - Click Count (0) -
.github/workflows/smokeshow.yml
uv.lock - run: uv sync --locked --no-dev --group github-actions - uses: actions/download-artifact@v8 with: name: coverage-html path: htmlcov github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} # Try 5 times to upload coverage to smokeshow - name: Upload coverage to Smokeshow run: | for i in 1 2 3 4 5; doCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 03 00:12:02 GMT 2026 - 1.6K bytes - Click Count (0) -
.github/workflows/stale-issues.yml
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further." repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Contribution issues uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1 with:
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 4.1K bytes - Click Count (0) -
internal/logger/help.go
Type: "url", Sensitive: true, }, config.HelpKV{ Key: AuthToken, Description: `opaque string or JWT authorization token`, Optional: true, Type: "string", Sensitive: true, Secret: true, }, config.HelpKV{ Key: ClientCert, Description: "mTLS certificate for webhook authentication",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 11 22:20:42 GMT 2024 - 7.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
* "user.addresses(myAddress).street"</li> * </ul> * * @param expression not null expression * @param root not null object * @param trimRootToken trim root token yes/no. * @return the object defined by the expression * @throws IntrospectionException if any */ public static Object evaluate(@Nonnull String expression, @Nullable Object root, boolean trimRootToken)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.8K bytes - Click Count (0) -
docs/sts/README.md
> - [**AD/LDAP**](https://github.com/minio/minio/blob/master/docs/sts/ldap.md)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.8K bytes - Click Count (0) -
docs/sts/web-identity.go
return &credentials.WebIdentityToken{ Token: r.Form.Get("id_token"), }, nil } } else { getWebTokenExpiry = func() (*credentials.WebIdentityToken, error) { oauth2Token, err := config.Exchange(ctx, r.URL.Query().Get("code")) if err != nil { return nil, err } if !oauth2Token.Valid() { return nil, errors.New("invalid token") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0)