- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 261 for map_key (0.18 sec)
-
tests/test_security_api_key_cookie_description.py
from fastapi.security import APIKeyCookie from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyCookie(name="key", description="An API Cookie Key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
tests/test_security_api_key_header.py
from fastapi.security import APIKeyHeader from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.8K bytes - Viewed (0) -
tests/test_security_api_key_header_description.py
from fastapi.security import APIKeyHeader from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key", description="An API Key Header") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
internal/config/subnet/help.go
Type: "string", Description: "[DEPRECATED use api_key] Subnet license token for the cluster" + defaultHelpPostfix(config.License), Optional: true, Sensitive: true, }, config.HelpKV{ Key: config.APIKey, Type: "string", Description: "Subnet api key for the cluster" + defaultHelpPostfix(config.APIKey), Optional: true, Sensitive: true, }, config.HelpKV{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jul 13 19:24:47 UTC 2023 - 1.7K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/infra/EnvironmentVariablesPropagationTest.groovy
assert !v.toLowerCase().contains(value.toLowerCase()) } where: value << ['GRADLE_ENTERPRISE_ACCESS_KEY', "api_key", "access_key", "apikey", "accesskey", "password", "token", "credential", "auth"] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyMapNotationConverter.java
} protected T parseMap(@MapKey("group") @Nullable String group, @MapKey("name") @Nullable String name, @MapKey("version") @Nullable String version, @MapKey("configuration") @Nullable String configuration, @MapKey("ext") @Nullable String ext, @MapKey("classifier") @Nullable String classifier) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
OperatingSystem.current().pathVar, "PATHEXT", ) val credentialsKeywords = listOf( "api_key", "access_key", "apikey", "accesskey", "password", "token", "credential", "auth" ) fun Test.filterEnvironmentVariables() { environment = makePropagatedEnvironment()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 18 01:52:16 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactory.java
visitor.candidate("Maps").example("[group: 'org.group', name: 'capability', version: '1.0']"); } protected Capability parseMap(@MapKey("group") String group, @MapKey("name") String name, @MapKey("version") String version) { return new DefaultImmutableCapability(group, name, version); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/gateway/conflictinggateway.go
sPortNumber := strconv.Itoa(int(server.GetPort().GetNumber())) mapKey := genGatewayMapKey(sGWSelector, sPortNumber) if _, exits := gwConflictingMap[mapKey]; !exits { objMap := make(map[string][]string) objMap[gwName] = server.GetHosts() gwConflictingMap[mapKey] = objMap } else { gwConflictingMap[mapKey][gwName] = server.GetHosts() } } return true })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/NativeDependencyNotationParser.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0)