- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 645 for scopej (0.05 sec)
-
docs/en/docs/reference/dependencies.md
``` ::: fastapi.Depends ## `Security()` For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`. But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`. You can import `Security()` directly from `fastapi`: ```python from fastapi import Security ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 671 bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
this.type = type; this.scope = scope; this.svr = svr; } public void run() { try { ans = NbtAddress.getByName( host, type, scope, svr ); } catch( UnknownHostException uhe ) { this.uhe = uhe; } catch( Exception ex ) { this.uhe = new UnknownHostException( ex.getMessage() );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
gradlew.bat
@rem ########################################################################## @rem @rem Gradle startup script for Windows @rem @rem ########################################################################## @rem Set local scope for the variables with windows NT shell if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. @rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME%
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Nov 25 16:14:58 UTC 2022 - 2.7K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial001_an_py39.py
} }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "token"}}, } } },
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial001_an.py
} }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "token"}}, } } },
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
<img src="/img/tutorial/security/image10.png"> /// note Notice the header `Authorization`, with a value that starts with `Bearer `. /// ## Advanced usage with `scopes` OAuth2 has the notion of "scopes". You can use them to add a specific set of permissions to a JWT token. Then you can give this token to a user directly or a third party, to interact with your API with a set of restrictions.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:45:10 UTC 2024 - 12.8K bytes - Viewed (0) -
docs_src/behind_a_proxy/tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jun 11 21:53:19 UTC 2020 - 189 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
injector.discover(ProtoSession.class.getClassLoader()); Session session = injector.getInstance(Session.class); SessionScope scope = new SessionScope(); scope.enter(); scope.seed(Session.class, session); injector.bindScope(SessionScoped.class, scope); return session; } record Context(Map<String, String> userProperties, Map<String, String> systemProperties) {}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.4K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional_description.py
} }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "/token"}}, "description": "OAuth2PasswordBearer security scheme", } } },
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
tests/test_tutorial/test_events/test_tutorial002.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app", scope="module") def get_app(): with pytest.warns(DeprecationWarning): from docs_src.events.tutorial002 import app yield app def test_events(app: FastAPI): with TestClient(app) as client: response = client.get("/items/") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.4K bytes - Viewed (0)