Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 578 for Tokens (0.04 seconds)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## JWT token with scopes { #jwt-token-with-scopes }
    
    Now, modify the token *path operation* to return the scopes requested.
    
    We are still using the same `OAuth2PasswordRequestForm`. It includes a property `scopes` with a `list` of `str`, with each scope it received in the request.
    
    And we return the scopes as part of the JWT token.
    
    /// danger
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## Token JWT com escopos { #jwt-token-with-scopes }
    
    Agora, modifique a *operação de rota* do token para retornar os escopos solicitados.
    
    Nós ainda estamos utilizando o mesmo `OAuth2PasswordRequestForm`. Ele inclui a propriedade `scopes` com uma `list` de `str`, com cada escopo que ele recebeu na requisição.
    
    E nós retornamos os escopos como parte do token JWT.
    
    /// danger | Cuidado
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. src/bytes/bytes_test.go

    	}
    }
    
    func makeBenchInputHard() []byte {
    	tokens := [...]string{
    		"<a>", "<p>", "<b>", "<strong>",
    		"</a>", "</p>", "</b>", "</strong>",
    		"hello", "world",
    	}
    	x := make([]byte, 0, 1<<20)
    	r := rand.New(rand.NewSource(99))
    	for {
    		i := r.Intn(len(tokens))
    		if len(x)+len(tokens[i]) >= 1<<20 {
    			break
    		}
    		x = append(x, tokens[i]...)
    	}
    	return x
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  4. docs/zh/docs/features.md

        * Email.
        * UUID.
        * ...及其他.
    
    所有的校验都由完善且强大的 **Pydantic** 处理。
    
    ### 安全性及身份验证
    
    集成了安全性和身份认证。杜绝数据库或者数据模型的渗透风险。
    
    OpenAPI 中定义的安全模式,包括:
    
    * HTTP 基本认证。
    * **OAuth2** (也使用 **JWT tokens**)。在 [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}查看教程。
    * API 密钥,在:
        * 请求头。
        * 查询参数。
        * Cookies, 等等。
    
    加上来自 Starlette(包括 **session cookie**)的所有安全特性。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. docs/uk/docs/index.md

    * Дуже потужна і проста у використанні система **<abbr title="також відома як: components, resources, providers, services, injectables">Ін'єкція Залежностей</abbr>**.
    * Безпека та автентифікація, включаючи підтримку **OAuth2** з **JWT tokens** та **HTTP Basic** автентифікацію.
    * Досконаліші (але однаково прості) техніки для оголошення **глибоко вкладених моделей JSON** (завдяки Pydantic).
    * Багато додаткових функцій (завдяки Starlette) як-от:
        * **WebSockets**
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

                Path base = project.getOutputDirectory(scope());
                return targetPath.map(base::resolve).orElse(base);
            });
        }
    
        /**
         * {@return whether resources are filtered to replace tokens with parameterized values}
         * The default value is {@code false}.
         */
        default boolean stringFiltering() {
            return false;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    func (p *Parser) have(token lex.ScanToken) bool {
    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    
    // at reports whether the next tokens are as requested.
    func (p *Parser) at(next ...lex.ScanToken) bool {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/features.md

    * 驗證外來的型別,比如:
        * URL
        * Email
        * UUID
    
    
    ### 安全性及身份驗證
    
    FastAPI 已經整合了安全性和身份驗證的功能,但不會強制與特定的資料庫或資料模型進行綁定。
    
    OpenAPI 中定義的安全模式,包括:
    
    * HTTP 基本認證。
    * **OAuth2**(也使用 **JWT tokens**)。在 [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank} 查看教學。
    * API 密鑰,在:
        * 標頭(Header)
        * 查詢參數
        * Cookies,等等。
    
    加上来自 Starlette(包括 **session cookie**)的所有安全特性。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. internal/bucket/object/lock/lock.go

    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LegalHold>/<ObjectLockLegalHold> but have <%s>",
    			start.Name.Local))
    	}
    	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 "Status":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  10. docs/ko/docs/features.md

    모든 검증은 견고하면서 잘 확립된 **Pydantic**에 의해 처리됩니다.
    
    ### 보안과 인증
    
    보안과 인증이 통합되어 있습니다. 데이터베이스나 데이터 모델과의 타협없이 사용할 수 있습니다.
    
    다음을 포함하는, 모든 보안 스키마가 OpenAPI에 정의되어 있습니다.
    
    * HTTP Basic.
    * **OAuth2** (**JWT tokens** 또한 포함). [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=\_blank}에 있는 자습서를 확인해 보세요.
    * 다음에 들어 있는 API 키:
        * 헤더.
        * 매개변수.
        * 쿠키 및 그 외.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11.8K bytes
    - Click Count (0)
Back to Top