Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for OAuth (0.02 seconds)

  1. docs/sts/wso2.md

      - Navigate to service provider section, expand Inbound Authentication Configurations and expand OAuth/OpenID Connect Configuration.
        - Copy the OAuth Client Key as the value for `<CLIENT_ID>`.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    from fastapi.security import OAuth2AuthorizationCodeBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="api/oauth/authorize",
        tokenUrl="/api/oauth/token",
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * dashboard to create a client ID and secret for this application.
     *
     * <p>You must configure your Slack API OAuth and Permissions page with a localhost URL like {@code
     * http://localhost:53203/oauth/}, passing the same port to this class’ constructor.
     */
    public final class SlackApi {
      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/security/index.md

    ## OAuth2 { #oauth2 }
    
    OAuth2是一个规范,它定义了几种处理身份认证和授权的方法。
    
    它是一个相当广泛的规范,涵盖了一些复杂的使用场景。
    
    它包括了使用「第三方」进行身份认证的方法。
    
    这就是所有带有「使用 Facebook,Google,X (Twitter),GitHub 登录」的系统背后所使用的机制。
    
    ### OAuth 1 { #oauth-1 }
    
    有一个 OAuth 1,它与 OAuth2 完全不同,并且更为复杂,因为它直接包含了有关如何加密通信的规范。
    
    如今它已经不是很流行,没有被广泛使用了。
    
    OAuth2 没有指定如何加密通信,它期望你为应用程序使用 HTTPS 进行通信。
    
    /// tip | 提示
    
    在有关**部署**的章节中,你将了解如何使用 Traefik 和 Let's Encrypt 免费设置 HTTPS。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
      /** Waits for an OAuth session for this client to be set. */
      public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Click Count (0)
  6. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.mockwebserver.RecordedRequest;
    import okio.ByteString;
    
    /**
     * Runs a MockWebServer on localhost and uses it as the backend to receive an OAuth session.
     *
     * <p>Clients should call {@link #start}, {@link #newAuthorizeUrl} and {@link #close} in that order.
     * Clients may request multiple sessions.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
  7. docs/zh-hant/docs/tutorial/security/index.md

    ## OAuth2 { #oauth2 }
    
    OAuth2 是一套規範,定義了多種處理身分驗證與授權的方法。
    
    它相當龐大,涵蓋許多複雜的使用情境。
    
    它也包含使用「第三方」進行身分驗證的方式。
    
    這正是各種「使用 Facebook、Google、X(Twitter)、GitHub 登入」系統在底層採用的機制。
    
    ### OAuth 1 { #oauth-1 }
    
    過去有 OAuth 1,和 OAuth2 非常不同,也更複雜,因為它直接規範了如何加密通訊。
    
    它現在並不流行,也很少被使用。
    
    OAuth2 不規範通訊如何加密,而是假設你的應用會透過 HTTPS 提供服務。
    
    /// tip | 提示
    在部署相關章節中,你會看到如何使用 Traefik 與 Let's Encrypt 免費設定 HTTPS。
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/security/index.md

    OAuth2は、認証と認可を処理するためのいくつかの方法を定義した仕様です。
    
    かなり広範囲な仕様で、いくつかの複雑なユースケースをカバーしています。
    
    これには「サードパーティ」を使用して認証する方法が含まれています。
    
    これが、「Facebook、Google、X (Twitter)、GitHubを使ってログイン」を使用したすべてのシステムの背後で使われている仕組みです。
    
    ### OAuth 1 { #oauth-1 }
    
    OAuth 1というものもありましたが、これはOAuth2とは全く異なり、通信をどのように暗号化するかという仕様が直接的に含まれており、より複雑なものとなっています。
    
    現在ではあまり普及していませんし、使われてもいません。
    
    OAuth2は、通信を暗号化する方法を指定せず、アプリケーションがHTTPSで提供されることを想定しています。
    
    /// tip | 豆知識
    
    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)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedType = "OAuth";
            String expectedMessage = "OAuth token is invalid";
    
            try {
                throw new InvalidAccessTokenException(expectedType, expectedMessage);
            } catch (InvalidAccessTokenException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/security/index.md

    It includes ways to authenticate using a "third party".
    
    That's what all the systems with "login with Facebook, Google, X (Twitter), GitHub" use underneath.
    
    ### OAuth 1 { #oauth-1 }
    
    There was an OAuth 1, which is very different from OAuth2, and more complex, as it included direct specifications on how to encrypt the communication.
    
    It is not very popular or used nowadays.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top