Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 602 for bearer (0.04 seconds)

  1. docs/ja/docs/tutorial/security/index.md

    OpenAPIでは、以下のセキュリティスキームを定義しています:
    
    * `apiKey`: アプリケーション固有のキーで、これらのものから取得できます。
        * クエリパラメータ
        * ヘッダー
        * クッキー
    * `http`: 標準的なHTTP認証システムで、これらのものを含みます。
        * `bearer`: ヘッダ `Authorization` の値が `Bearer ` で、トークンが含まれます。これはOAuth2から継承しています。
        * HTTP Basic認証
        * HTTP ダイジェスト認証など
    * `oauth2`: OAuth2のセキュリティ処理方法(「フロー」と呼ばれます)のすべて。
        * これらのフローのいくつかは、OAuth 2.0認証プロバイダ(Google、Facebook、X (Twitter)、GitHubなど)を構築するのに適しています。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    # 使用密碼(與雜湊)的 OAuth2、以 Bearer 搭配 JWT 權杖 { #oauth2-with-password-and-hashing-bearer-with-jwt-tokens }
    
    現在我們已經有完整的安全流程了,接下來用 <abbr title="JSON Web Tokens - JSON 網路權杖">JWT</abbr> 權杖與安全的密碼雜湊,讓應用真正安全。
    
    這份程式碼可以直接用在你的應用中,把密碼雜湊存進資料庫等等。
    
    我們會從上一章的內容繼續往下擴充。
    
    ## 關於 JWT { #about-jwt }
    
    JWT 的意思是「JSON Web Tokens」。
    
    它是一種把 JSON 物件編碼成一段長且緊密(沒有空白)的字串的標準。看起來像這樣:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/security/oauth2-jwt.md

    # 使用密码(及哈希)的 OAuth2,基于 JWT 的 Bearer 令牌 { #oauth2-with-password-and-hashing-bearer-with-jwt-tokens }
    
    现在我们已经有了完整的安全流程,接下来用 <abbr title="JSON Web Tokens - JSON Web 令牌">JWT</abbr> 令牌和安全的密码哈希,让应用真正安全起来。
    
    这些代码可以直接用于你的应用,你可以把密码哈希保存到数据库中,等等。
    
    我们将从上一章结束的地方继续,逐步完善。
    
    ## 关于 JWT { #about-jwt }
    
    JWT 意为 “JSON Web Tokens”。
    
    它是一种标准,把一个 JSON 对象编码成没有空格、很密集的一长串字符串。看起来像这样:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. internal/config/identity/openid/providercfg.go

    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, p.DiscoveryDoc.UserInfoEndpoint, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    	if accessToken != "" {
    		req.Header.Set("Authorization", "Bearer "+accessToken)
    	}
    
    	client := &http.Client{
    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. cmd/jwt.go

    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 100 years approx.
    	defaultInterNodeJWTExpiry = 100 * 365 * 24 * time.Hour
    )
    
    var (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. internal/config/identity/openid/provider/keycloak.go

    	k.Lock()
    	accessToken := k.accessToken
    	k.Unlock()
    	if accessToken.AccessToken == "" {
    		return User{}, ErrAccessTokenExpired
    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  7. cmd/batch-replicate.go

    //           value: "value*"
    //       metadata:
    //         - key: "content-type"
    //           value: "image/*"
    //     notify:
    //       endpoint: "https://splunk-hec.dev.com"
    //       token: "Splunk ..." # e.g. "Bearer token"
    //
    //   # target where the objects must be replicated
    //   target:
    //     type: "minio"
    //     bucket: "testbucket1"
    //     endpoint: "https://play.min.io"
    //     path: "on"
    //     credentials:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  8. fastapi/openapi/models.py

    class HTTPBase(SecurityBase):
        type_: SecuritySchemeType = Field(default=SecuritySchemeType.http, alias="type")
        scheme: str
    
    
    class HTTPBearer(HTTPBase):
        scheme: Literal["bearer"] = "bearer"
        bearerFormat: str | None = None
    
    
    class OAuthFlow(BaseModelWithConfig):
        refreshUrl: str | None = None
        scopes: dict[str, str] = {}
    
    
    class OAuthFlowImplicit(OAuthFlow):
        authorizationUrl: str
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/cors.md

    But that will only allow certain types of communication, excluding everything that involves credentials: Cookies, Authorization headers like those used with Bearer Tokens, etc.
    
    So, for everything to work correctly, it's better to specify explicitly the allowed origins.
    
    ## Use `CORSMiddleware` { #use-corsmiddleware }
    
    You can configure it in your **FastAPI** application using the `CORSMiddleware`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. docs/batch-jobs/README.md

    	  #     value: "image/*" # match objects with 'content-type', with all values starting with 'image/'
    
    	notify:
    	  endpoint: "https://notify.endpoint" # notification endpoint to receive job status events
    	  token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    
    	retry:
    	  attempts: 10 # number of retries for the job before giving up
    	  delay: "500ms" # least amount of delay between each retry
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 06 06:00:43 GMT 2022
    - 4.8K bytes
    - Click Count (0)
Back to Top