Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 242 for userTime (0.39 sec)

  1. src/os/user/cgo_lookup_unix.go

    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    func lookupUser(username string) (*User, error) {
    	var pwd _C_struct_passwd
    	var found bool
    	nameC := make([]byte, len(username)+1)
    	copy(nameC, username)
    
    	err := retryWithBuffer(userBuffer, func(buf []byte) syscall.Errno {
    		var errno syscall.Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    Now let's build from the previous chapter and add the missing parts to have a complete security flow.
    
    ## Get the `username` and `password`
    
    We are going to use **FastAPI** security utilities to get the `username` and `password`.
    
    OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. docker/iptables.yaml

        - libnfnetlink
        - libmnl
        - libgcc
    archs:
      - x86_64
      - aarch64
    paths:
    - path: /run
      type: directory
      permissions: 0o755
    accounts:
      users:
        - username: nonroot
          uid: 65532
        - username: nobody
          uid: 65534
      run-as: 65532
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 17:24:41 UTC 2024
    - 541 bytes
    - Viewed (0)
  8. docs_src/custom_docs_ui/tutorial001.py

            title=app.title + " - ReDoc",
            redoc_js_url="https://unpkg.com/redoc@next/bundles/redoc.standalone.js",
        )
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/security/simple-oauth2.md

    本章添加上一章示例中欠缺的部分,实现完整的安全流。
    
    ## 获取 `username` 和 `password`
    
    首先,使用 **FastAPI** 安全工具获取 `username` 和 `password`。
    
    OAuth2 规范要求使用**密码流**时,客户端或用户必须以表单数据形式发送 `username` 和 `password` 字段。
    
    并且,这两个字段必须命名为 `username` 和 `password` ,不能使用 `user-name` 或 `email` 等其它名称。
    
    不过也不用担心,前端仍可以显示终端用户所需的名称。
    
    数据库模型也可以使用所需的名称。
    
    但对于登录*路径操作*,则要使用兼容规范的 `username` 和 `password`,(例如,实现与 API 文档集成)。
    
    该规范要求必须以表单数据形式发送 `username` 和 `password`,因此,不能使用 JSON 对象。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                        },
                    },
                    "User": {
                        "title": "User",
                        "required": ["username"],
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top