Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for authorization_code (0.25 sec)

  1. fastapi/openapi/docs.py

                isValid = qp.state === sentState;
    
                if ((
                  oauth2.auth.schema.get("flow") === "accessCode" ||
                  oauth2.auth.schema.get("flow") === "authorizationCode" ||
                  oauth2.auth.schema.get("flow") === "authorization_code"
                ) && !oauth2.auth.code) {
                    if (!isValid) {
                        oauth2.errCb({
                            authId: oauth2.auth.name,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            return new AuthorizationCodeTokenRequest(httpTransport, jsonFactory, new GenericUrl(getOicTokenServerUrl()), code)//
                    .setGrantType("authorization_code")//
                    .setRedirectUri(getOicRedirectUrl())//
                    .set("client_id", getOicClientId())//
                    .set("client_secret", getOicClientSecret())//
                    .execute();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                    service.shutdown();
                }
            }
        }
    
        protected AuthenticationResult getAccessToken(final AuthorizationCode authorizationCode, final String currentUri) {
            final String authority = getAuthority() + getTenant() + "/";
            final String authCode = authorizationCode.getValue();
            if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. docs/fa/docs/tutorial/security/index.md

        * چندین از این flows برای ساخت یک ارائه‌دهنده احراز هویت OAuth 2.0 مناسب هستند (مانند گوگل، فیسبوک، توییتر، گیت‌هاب و غیره):
            * ویژگی `implicit`
            * ویژگی `clientCredentials`
            * ویژگی `authorizationCode`
        * اما یک "flow" خاص وجود دارد که می‌تواند به طور کامل برای مدیریت احراز هویت در همان برنامه به کار رود:
            * بررسی `password`: چند فصل بعدی به مثال‌های این مورد خواهیم پرداخت.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 15:06:11 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/index.md

        * Mehrere dieser Flows eignen sich zum Aufbau eines OAuth 2.0-Authentifizierungsanbieters (wie Google, Facebook, Twitter, GitHub usw.):
            * `implicit`
            * `clientCredentials`
            * `authorizationCode`
        * Es gibt jedoch einen bestimmten „Flow“, der perfekt für die direkte Abwicklung der Authentifizierung in derselben Anwendung verwendet werden kann:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:35 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/security/index.md

        * HTTP ダイジェスト認証など
    * `oauth2`: OAuth2のセキュリティ処理方法(「フロー」と呼ばれます)のすべて。
        * これらのフローのいくつかは、OAuth 2.0認証プロバイダ(Google、Facebook、Twitter、GitHubなど)を構築するのに適しています。
            * `implicit`
            * `clientCredentials`
            * `authorizationCode`
        * しかし、同じアプリケーション内で認証を直接処理するために完全に機能する特定の「フロー」があります。
            * `password`: 次のいくつかの章では、その例を紹介します。
    * `openIdConnect`: OAuth2認証データを自動的に発見する方法を定義できます。
        * この自動検出メカニズムは、OpenID Connectの仕様で定義されているものです。
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:10:49 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. fastapi/security/oauth2.py

                    or in a cookie).
                    """
                ),
            ] = True,
        ):
            if not scopes:
                scopes = {}
            flows = OAuthFlowsModel(
                authorizationCode=cast(
                    Any,
                    {
                        "authorizationUrl": authorizationUrl,
                        "tokenUrl": tokenUrl,
                        "refreshUrl": refreshUrl,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  8. fastapi/openapi/models.py

    
    class OAuthFlows(BaseModelWithConfig):
        implicit: Optional[OAuthFlowImplicit] = None
        password: Optional[OAuthFlowPassword] = None
        clientCredentials: Optional[OAuthFlowClientCredentials] = None
        authorizationCode: Optional[OAuthFlowAuthorizationCode] = None
    
    
    class OAuth2(SecurityBase):
        type_: SecuritySchemeType = Field(default=SecuritySchemeType.oauth2, alias="type")
        flows: OAuthFlows
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top