- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 799 for token (0.06 sec)
-
cmd/storage-rest-server.go
const DefaultSkewTime = 15 * time.Minute // validateStorageRequestToken will validate the token against the provided audience. func validateStorageRequestToken(token string) error { claims := xjwt.NewStandardClaims() if err := xjwt.ParseWithStandardClaims(token, claims, []byte(globalActiveCred.SecretKey)); err != nil { return errAuthentication }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
. ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 假设现在包含**FastAPI** app的文件 `main.py` 有些其他**路径操作**。 有个 `GET` 操作会返回错误。 有个 `POST` 操作会返回一些错误。 所有*路径操作* 都需要一个`X-Token` 头。 //// tab | Python 3.10+ ```Python {!> ../../docs_src/app_testing/app_b_an_py310/main.py!} ``` //// //// tab | Python 3.9+ ```PythonRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
We see that we are going to need some dependencies used in several places of the application. So we put them in their own `dependencies` module (`app/dependencies.py`). We will now use a simple dependency to read a custom `X-Token` header: {* ../../docs_src/bigger_applications/app_an_py39/dependencies.py hl[3,6:8] title["app/dependencies.py"] *} /// tip We are using an invented header to simplify this example.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
/// ## 토큰 반환하기 `token` 엔드포인트의 응답은 JSON 객체여야 합니다. `token_type`이 있어야 합니다. 여기서는 "Bearer" 토큰을 사용하므로 토큰 유형은 "`bearer`"여야 합니다. 그리고 액세스 토큰을 포함하는 문자열과 함께 `access_token`이 있어야 합니다. 이 간단한 예제에서는 완전히 안전하지 않고, 동일한 `username`을 토큰으로 반환합니다. /// tip | 팁 다음 장에서는 패스워드 해싱 및 <abbr title="JSON Web Tokens">JWT</abbr> 토큰을 사용하여 실제 보안 구현을 볼 수 있습니다. 하지만 지금은 필요한 세부 정보에 집중하겠습니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 15 11:19:12 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
static MediaType createVideoType(String subtype) { return create(VIDEO_TYPE, subtype); } private static String normalizeToken(String token) { checkArgument(TOKEN_MATCHER.matchesAllOf(token)); checkArgument(!token.isEmpty()); return Ascii.toLowerCase(token); } private static String normalizeParameterValue(String attribute, String value) { checkNotNull(value); // for GWT
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 01:46:40 UTC 2025 - 48K bytes - Viewed (0) -
scripts/notify_translations.py
discussion_id: Union[str, None] = None, comment_id: Union[str, None] = None, body: Union[str, None] = None, ) -> dict[str, Any]: headers = {"Authorization": f"token {settings.github_token.get_secret_value()}"} variables = { "after": after, "category_id": category_id, "discussion_number": discussion_number, "discussion_id": discussion_id,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.7K bytes - Viewed (0) -
internal/grid/muxserver.go
wg.Wait() defer xioutil.SafeClose(handlerIn) m.handleInbound(c, inbound, handlerIn) }(m.inbound) } // Fill outbound block. // Each token represents a message that can be sent to the client without blocking. // The client will refill the tokens as they confirm delivery of the messages. for range outboundCap { m.outBlock <- struct{}{} } // Handler goroutine.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 9.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
} // UnmarshalXML - decodes XML data. func (f *Filter) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) { f.set = true for { // Read tokens from the XML document in a stream. t, err := d.Token() if err != nil { if err == io.EOF { break } return err } if se, ok := t.(xml.StartElement); ok { switch se.Name.Local { case "Prefix":
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 04 17:01:26 UTC 2024 - 6.2K bytes - Viewed (0)