- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 902 for access (0.18 sec)
-
docs/iam/access-manager-plugin.go
Aditya Manthramurthy <******@****.***> 1707412520 -0800
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an.py
def test_read_items(): access_token = get_access_token(scope="me items") response = client.get( "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}] def test_read_system_status(): access_token = get_access_token() response = client.get(
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 15.4K bytes - Viewed (0) -
docs_src/security/tutorial004.py
headers={"WWW-Authenticate": "Bearer"}, ) access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES) access_token = create_access_token( data={"sub": user.username}, expires_delta=access_token_expires ) return Token(access_token=access_token, token_type="bearer") @app.get("/users/me/", response_model=User)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0) -
docs_src/security/tutorial004_an.py
headers={"WWW-Authenticate": "Bearer"}, ) access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES) access_token = create_access_token( data={"sub": user.username}, expires_delta=access_token_expires ) return Token(access_token=access_token, token_type="bearer") @app.get("/users/me/", response_model=User) async def read_users_me(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an_py39.py
assert get_password_hash("secretalice") @needs_py39 def test_create_access_token(): from docs_src.security.tutorial005_an_py39 import create_access_token access_token = create_access_token(data={"data": "foo"}) assert access_token @needs_py39 def test_token_no_sub(client: TestClient): response = client.get( "/users/me",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 16.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_py310.py
assert get_password_hash("secretalice") @needs_py310 def test_create_access_token(): from docs_src.security.tutorial005_py310 import create_access_token access_token = create_access_token(data={"data": "foo"}) assert access_token @needs_py310 def test_token_no_sub(client: TestClient): response = client.get( "/users/me",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 16.3K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
@AutomaticFeature class TestRegistration : Feature { override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess) { // Presumably needed for parsing the testlist.txt file. RuntimeClassInitialization.initializeAtBuildTime(access.findClassByName("kotlin.text.Charsets")) registerKnownTests(access) registerJupiterClasses(access) registerParamProvider(access, "okhttp3.SampleTestProvider")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java
/** * Collects basic settings to access the repository system. * */ public interface RepositoryRequest { /** * Indicates whether network access to remote repositories has been disabled. * * @return {@code true} if remote access has been disabled, {@code false} otherwise. */ boolean isOffline(); /** * Enables/disables network access to remote repositories. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.1K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
headers={"WWW-Authenticate": "Bearer"}, ) access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES) access_token = create_access_token( data={"sub": user.username}, expires_delta=access_token_expires ) return Token(access_token=access_token, token_type="bearer") @app.get("/users/me/", response_model=User)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0)