Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for OAuth (0.16 sec)

  1. fastapi/openapi/docs.py

        html += """
        presets: [
            SwaggerUIBundle.presets.apis,
            SwaggerUIBundle.SwaggerUIStandalonePreset
            ],
        })"""
    
        if init_oauth:
            html += f"""
            ui.initOAuth({json.dumps(jsonable_encoder(init_oauth))})
            """
    
        html += """
        </script>
        </body>
        </html>
        """
        return HTMLResponse(html)
    
    
    def get_redoc_html(
        *,
    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. docs/fa/docs/tutorial/security/index.md

    در آن روش هایی برای تأیید هویت با استفاده از "برنامه های شخص ثالث" وجود دارد.
    
    این همان چیزی است که تمامی سیستم های با "ورود با فیسبوک، گوگل، توییتر، گیت هاب" در پایین آن را استفاده می کنند.
    
    ### پروتکل استاندارد OAuth 1
    
    پروتکل استاندارد  OAuth1 نیز وجود داشت که با OAuth2 خیلی متفاوت است و پیچیدگی بیشتری داشت، زیرا شامل مشخصات مستقیم در مورد رمزگذاری ارتباط بود.
    
    در حال حاضر OAuth1 بسیار محبوب یا استفاده شده نیست.
    
    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)
  3. docs/ja/docs/tutorial/security/index.md

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

    		return err
    	}
    
    	// Validate that matching clientID appears in the aud or azp claims.
    
    	// REQUIRED. Audience(s) that this ID Token is intended for.
    	// It MUST contain the OAuth 2.0 client_id of the Relying Party
    	// as an audience value. It MAY also contain identifiers for
    	// other audiences. In the general case, the aud value is an
    	// array of case sensitive strings. In the common special case
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  5. docs/site-replication/run-multi-site-oidc.sh

    export MINIO_IDENTITY_OPENID_SCOPES="openid,groups"
    
    export MINIO_IDENTITY_OPENID_REDIRECT_URI="http://127.0.0.1:10000/oauth_callback"
    minio server --address ":9001" --console-address ":10000" /tmp/minio1/{1...4} >/tmp/minio1_1.log 2>&1 &
    site1_pid=$!
    export MINIO_IDENTITY_OPENID_REDIRECT_URI="http://127.0.0.1:11000/oauth_callback"
    minio server --address ":9002" --console-address ":11000" /tmp/minio2/{1...4} >/tmp/minio2_1.log 2>&1 &
    site2_pid=$!
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. tests/test_security_oauth2.py

            }
        }
    )
    
    
    class User(BaseModel):
        username: str
    
    
    # Here we use string annotations to test them
    def get_current_user(oauth_header: "str" = Security(reusable_oauth2)):
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    # Here we use string annotations to test them
    def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val googleHttpClientGson = "com.google.http-client:google-http-client-gson"
        val googleHttpClientApacheV2 = "com.google.http-client:google-http-client-apache-v2"
        val googleOauthClient = "com.google.oauth-client:google-oauth-client"
        val gradleIdeStarter = "org.gradle.buildtool.internal:gradle-ide-starter:$gradleIdeStarterVersion"
        val gradleProfiler = "org.gradle.profiler:gradle-profiler"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/handling-errors.md

    Единственное отличие заключается в том, что `HTTPException` от **FastAPI** позволяет добавлять заголовки, которые будут включены в ответ.
    
    Он необходим/используется внутри системы для OAuth 2.0 и некоторых утилит безопасности.
    
    Таким образом, вы можете продолжать вызывать `HTTPException` от **FastAPI** как обычно в своем коде.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/handling-errors.md

    **FastAPI** 也提供了自有的 `HTTPException`。
    
    **FastAPI** 的 `HTTPException` 继承自 Starlette 的 `HTTPException` 错误类。
    
    它们之间的唯一区别是,**FastAPI** 的 `HTTPException` 可以在响应中添加响应头。
    
    OAuth 2.0 等安全工具需要在内部调用这些响应头。
    
    因此你可以继续像平常一样在代码中触发 **FastAPI** 的 `HTTPException` 。
    
    但注册异常处理器时,应该注册到来自 Starlette 的 `HTTPException`。
    
    这样做是为了,当 Starlette 的内部代码、扩展或插件触发 Starlette `HTTPException` 时,处理程序能够捕获、并处理此异常。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. pom.xml

    					<artifactId>error_prone_annotations</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    		<dependency>
    			<groupId>com.google.oauth-client</groupId>
    			<artifactId>google-oauth-client</artifactId>
    			<version>${google.oauth.client.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.google.http-client</groupId>
    			<artifactId>google-http-client</artifactId>
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Apr 22 12:06:58 GMT 2024
    - 48.7K bytes
    - Viewed (0)
Back to top