- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 3,772 for getA (0.02 seconds)
-
docs/en/docs/tutorial/security/simple-oauth2.md
After authenticating in the system, you will see it like: <img src="/img/tutorial/security/image05.png"> ### Get your own user data { #get-your-own-user-data } Now use the operation `GET` with the path `/users/me`. You will get your user's data, like: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt
get() = fullyQualifiedName.substringAfterLast(".") internal val JApiClass.packagePath: String get() = packageName.replace(".", "/") internal val JApiClass.packageName: String
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 1.5K bytes - Click Count (0) -
tests/test_security_api_key_header_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User | None = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
implementation(localGroovy()) testImplementation(testLibs.findLibrary("spock").get()) testImplementation(testLibs.findLibrary("bytebuddy").get()) testImplementation(testLibs.findLibrary("objenesis").get()) testRuntimeOnly(testLibs.findLibrary("junitPlatform").get()) } tasks.withType<GroovyCompile>().configureEach { groovyOptions.apply { encoding = "utf-8"Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/test_request_params/test_path/test_required_str.py
from inline_snapshot import Is, snapshot app = FastAPI() @app.get("/required-str/{p}") async def read_required_str(p: Annotated[str, Path()]): return {"p": p} @app.get("/required-alias/{p_alias}") async def read_required_alias(p: Annotated[str, Path(alias="p_alias")]): return {"p": p} @app.get("/required-validation-alias/{p_val_alias}") def read_required_validation_alias(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 09 15:35:43 GMT 2026 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
return ArrayListMultimap.create(); } /** Confirm that get() returns a List implementing RandomAccess. */ public void testGetRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
} /** * Get the file path * @return the path */ public String getPath() { return path; } /** * Get the create GUID * @return the create GUID */ public HandleGuid getCreateGuid() { return createGuid; } /** * Get the file ID * @return copy of the 16-byte file IDCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.isDone()); assertFalse(future.isCancelled()); assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS)); nested.set("foo"); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertThat(future.get()).isEqualTo("foo"); } private static class Foo {} private static class FooChild extends Foo {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
assertThat(f.get()).isEqualTo(CustomRuntimeException.class); } public void testCatchingAsync() throws Exception { FluentFuture<?> f = FluentFuture.from(immediateFailedFuture(new CustomRuntimeException())) .catchingAsync(Throwable.class, t -> immediateFuture(t.getClass()), directExecutor()); assertThat(f.get()).isEqualTo(CustomRuntimeException.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
if (auth != null) { return; } auth = a; } /** * Gets the default NTLM authenticator. * @return the default authentication credentials provider */ public static NtlmAuthenticator getDefault() { return auth; } /** * Gets the URL that is requesting authentication. * @return the URL requiring authentication */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (0)