- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 145 for authority (0.06 seconds)
-
tests/test_security_oauth2_authorization_code_bearer.py
from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True ) @app.get("/items/") async def read_items(token: str | None = Security(oauth2_scheme)): return {"token": token} client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", description="OAuth2 Code Bearer", auto_error=True, ) @app.get("/items/") async def read_items(token: str | None = Security(oauth2_scheme)): return {"token": token}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.5K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True, 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: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/tr/docs/tutorial/security/first-steps.md
Etkileşimli dokümantasyona gidin: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs). Şuna benzer bir şey göreceksiniz: <img src="/img/tutorial/security/image01.png"> /// check | Authorize butonu! Artık parıl parıl yeni bir "Authorize" butonunuz var. Ayrıca *path operation*’ınızın sağ üst köşesinde tıklayabileceğiniz küçük bir kilit simgesi de bulunuyor. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.2K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
/** Guarded by this. */ private OAuthSession session; public SlackClient(SlackApi slackApi) { this.slackApi = slackApi; } /** Shows a browser URL to authorize this app to act as this user. */ public void requestOauthSession(String scopes, String team) throws Exception { if (sessionFactory == null) { sessionFactory = new OAuthSessionFactory(slackApi);
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) -
docs/iam/opa.md
OPA is a lightweight general-purpose policy engine that can be co-located with MinIO server, in this document we talk about how to use OPA HTTP API to authorize requests. It can be used with any type of credentials (STS based like OpenID or LDAP, regular IAM users or service accounts). OPA is enabled through MinIO's Access Management Plugin feature. ## Get started
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 2.3K bytes - Click Count (0) -
docs/en/docs/tutorial/security/first-steps.md
Go to the interactive docs at: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs). You will see something like this: <img src="/img/tutorial/security/image01.png"> /// check | Authorize button! You already have a shiny new "Authorize" button. And your *path operation* has a little lock in the top-right corner that you can click. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/first-steps.md
Vous verrez quelque chose comme ceci : <img src="/img/tutorial/security/image01.png"> /// check | Bouton « Authorize » ! Vous avez déjà un tout nouveau bouton « Authorize ». Et votre *chemin d'accès* a un petit cadenas dans le coin supérieur droit sur lequel vous pouvez cliquer. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 9.3K bytes - Click Count (0) -
docs/de/docs/tutorial/security/first-steps.md
Sie werden etwa Folgendes sehen: <img src="/img/tutorial/security/image01.png"> /// check | Authorize-Button! Sie haben bereits einen glänzenden, neuen „Authorize“-Button. Und Ihre *Pfadoperation* hat in der oberen rechten Ecke ein kleines Schloss, auf das Sie klicken können. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 9.7K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
} /** See https://api.slack.com/docs/oauth. */ public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) { HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize") .addQueryParameter("client_id", clientId) .addQueryParameter("scope", scopes) .addQueryParameter("redirect_uri", redirectUrl.toString()) .addQueryParameter("state", state.base64());
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)