Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 187 for OAuth2 (0.22 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_security_oauth2_password_bearer_optional_description.py

                        }
                    }
                },
                "components": {
                    "securitySchemes": {
                        "OAuth2PasswordBearer": {
                            "type": "oauth2",
                            "flows": {"password": {"scopes": {}, "tokenUrl": "/token"}},
                            "description": "OAuth2PasswordBearer security scheme",
                        }
                    }
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. tests/test_security_oauth2_password_bearer_optional.py

                        }
                    }
                },
                "components": {
                    "securitySchemes": {
                        "OAuth2PasswordBearer": {
                            "type": "oauth2",
                            "flows": {"password": {"scopes": {}, "tokenUrl": "/token"}},
                        }
                    }
                },
            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.util.LaRequestUtil;
    
    import com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl;
    import com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest;
    import com.google.api.client.auth.oauth2.TokenResponse;
    import com.google.api.client.http.GenericUrl;
    import com.google.api.client.http.HttpTransport;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

    public final class PostMultipart {
      /**
       * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
       * these examples, please request your own client ID! https://api.imgur.com/oauth2
       */
      private static final String IMGUR_CLIENT_ID = "9199fdef135c122";
      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/request-forms.md

    Create form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *}
    
    For example, in one of the ways the OAuth2 specification can be used (called "password flow") it is required to send a `username` and `password` as form fields.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final String url = authenticator.getOicAuthServerUrl();
            assertEquals("https://accounts.google.com/o/oauth2/auth", url);
        }
    
        @Test
        public void test_getOicTokenServerUrl_default() {
            final String url = authenticator.getOicTokenServerUrl();
            assertEquals("https://accounts.google.com/o/oauth2/token", url);
        }
    
        @Test
        public void test_getOicClientId_default() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. docs/ja/docs/features.md

    ### セキュリティと認証 { #security-and-authentication }
    
    セキュリティと認証が統合されています。データベースやデータモデルとの妥協はありません。
    
    OpenAPI で定義されたすべてのセキュリティスキームをサポートします:
    
    * HTTP Basic。
    * **OAuth2**(**JWT トークン** も可)。チュートリアル [JWT を用いた OAuth2](tutorial/security/oauth2-jwt.md) を確認してください。
    * API キー(以下の場所):
        * ヘッダー。
        * クエリパラメータ。
        * クッキー、など。
    
    さらに、Starlette のすべてのセキュリティ機能(**セッション Cookie** を含む)も利用できます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/how-to/conditional-openapi.md

    如果你想保護 API,有許多更好的作法,例如:
    
    - 確保針對請求本文與回應,具備定義良好的 Pydantic 模型。
    - 透過依賴設定所需的權限與角色。
    - 切勿儲存明文密碼,只儲存密碼雜湊。
    - 實作並使用成熟且廣為人知的密碼學工具,例如 pwdlib 與 JWT 權杖等。
    - 視需要以 OAuth2 scopes 新增更細緻的權限控管。
    - ...等。
    
    儘管如此,在某些特定情境下,你可能確實需要在某些環境(例如正式環境)停用 API 文件,或依據環境變數的設定來決定是否啟用。
    
    ## 透過設定與環境變數的條件式 OpenAPI { #conditional-openapi-from-settings-and-env-vars }
    
    你可以用相同的 Pydantic 設定,來配置產生的 OpenAPI 與文件 UI。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. internal/config/identity/openid/providercfg.go

    	}
    	return p.roleArn.String()
    }
    
    // UserInfo returns claims for authenticated user from userInfo endpoint.
    //
    // Some OIDC implementations such as GitLab do not support
    // claims as part of the normal oauth2 flow, instead rely
    // on service providers making calls to IDP to fetch additional
    // claims available from the UserInfo endpoint
    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)
  10. fastapi/param_functions.py

        ] = None,
        *,
        scopes: Annotated[
            Sequence[str] | None,
            Doc(
                """
                OAuth2 scopes required for the *path operation* that uses this Security
                dependency.
    
                The term "scope" comes from the OAuth2 specification, it seems to be
                intentionally vague and interpretable. It normally refers to permissions,
                in cases to roles.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
Back to Top