- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 743 for tokens (0.08 sec)
-
docs/zh/docs/tutorial/security/get-current-user.md
# 获取当前用户 上一章中,(基于依赖注入系统的)安全系统向*路径操作函数*传递了 `str` 类型的 `token`: ```Python hl_lines="10" {!../../docs_src/security/tutorial001.py!} ``` 但这并不实用。 接下来,我们学习如何返回当前用户。 ## 创建用户模型 首先,创建 Pydantic 用户模型。 与使用 Pydantic 声明请求体相同,并且可在任何位置使用: ```Python hl_lines="5 12-16" {!../../docs_src/security/tutorial002.py!} ``` ## 创建 `get_current_user` 依赖项 创建 `get_current_user` 依赖项。 还记得依赖项支持子依赖项吗?
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
var cgroups []Cgroup scanner := bufio.NewScanner(reader) for scanner.Scan() { token := scanner.Text() substrings := strings.SplitN(token, ":", 3) if len(substrings) < 3 { return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token) } cgroups = append(cgroups, Cgroup{ HierarchyID: substrings[0], ControllerList: substrings[1],
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
src/main/resources/fess_label.properties
labels.boost_document_rule_boost_expr=Boost Expr labels.boost_document_rule_sort_order=Sort Order labels.access_token_configuration=Access Token labels.access_token_title_details=Access Token labels.access_token_list_name=Name labels.access_token_name=Name labels.access_token_token=Token labels.access_token_expires=Expired labels.access_token_parameter_name=Parameter Name labels.access_token_updated_time=Created
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Mar 22 11:58:34 UTC 2024 - 40.7K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
} scan: if v, err = d.emitAny(); err != nil { goto out } if d.depth > d.emitDepth { // skip alloc for array if it won't be emitted array = append(array, v) } // next token must be ',' or ']' switch c = d.skipSpaces(); c { case ',': d.skipSpaces() goto scan case ']': goto out default: err = d.mkError(ErrSyntax, "after array element") } out:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
throw new SmbException("ExtendedGSSContext is not implemented by GSSContext"); } @Override public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException { try { return this.gssContext.initSecContext(token, off, len); } catch ( GSSException e ) { throw new SmbAuthException("GSSAPI mechanism failed", e); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Aug 02 08:22:42 UTC 2018 - 13.9K bytes - Viewed (0) -
fastapi/openapi/docs.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 10.1K bytes - Viewed (0) -
cmd/batch-handlers.go
if err != nil { return err } if token != "" { req.Header.Set("Authorization", token) } req.Header.Set("Content-Type", "application/json") clnt := http.Client{Transport: getRemoteInstanceTransport()} resp, err := clnt.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
docs/ja/docs/advanced/websockets.md
</div> ブラウザで <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a> を開きます。 クライアントが設定できる項目は以下の通りです。 * パスで使用される「Item ID」 * クエリパラメータとして使用される「Token」 /// tip | "豆知識" クエリ `token` は依存パッケージによって処理されることに注意してください。 /// これにより、WebSocketに接続してメッセージを送受信できます。 <img src="/img/tutorial/websockets/image05.png"> ## 切断や複数クライアントへの対応
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.2K bytes - Viewed (0) -
.github/workflows/ci.yml
- name: 'Cancel previous runs' uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 with: access_token: ${{ github.token }} - name: 'Check out repository' uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: 'Set up JDK ${{ matrix.java }}'
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 29 18:53:45 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/accesstoken/admin_accesstoken_edit.jsp
key="labels.access_token_token"/></label> <div class="col-sm-9"> ${f:h(token)} </div> </div> </c:if> <div class="form-group row">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 6K bytes - Viewed (0)