- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 567 for mytoken (0.04 sec)
-
docs/ru/docs/tutorial/security/get-current-user.md
# Получить текущего пользователя { #get-current-user } В предыдущей главе система безопасности (основанная на системе внедрения зависимостей) передавала *функции-обработчику пути* `token` типа `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Но это всё ещё не слишком полезно. Сделаем так, чтобы она возвращала текущего пользователя. ## Создать модель пользователя { #create-a-user-model }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 6.9K bytes - Viewed (0) -
cmd/batch-rotate.go
} // BatchKeyRotateNotification success or failure notification endpoint for each job attempts type BatchKeyRotateNotification struct { Endpoint string `yaml:"endpoint" json:"endpoint"` Token string `yaml:"token" json:"token"` } // BatchJobKeyRotateFlags various configurations for replication job definition currently includes // - filter // - notify // - retry type BatchJobKeyRotateFlags struct {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.7K 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 Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
* for API endpoints including authentication, message handling, and access control. * * This class extends FessBaseAction and provides specialized behavior for API requests, * including token-based authentication and JSON response handling. */ public abstract class FessApiAction extends FessBaseAction { /** * Default constructor. */ public FessApiAction() { super(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (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" },Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 529 bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Get the user { #get-the-user } `get_current_user` will use a (fake) utility function we created, that takes a token as a `str` and returns our Pydantic `User` model:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (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 {
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/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)