- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 692 for Scopes (0.15 sec)
-
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Meta-annotation that marks other annotations as scope annotations. * <p> * Scopes define the lifecycle and visibility of objects in the dependency injection * system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
dependencies=[Security(oauth2_scheme, scopes=["read", "write"])], ) async def read_with_oauth2_scheme(): return {"message": "Admin Access"} @app.get( "/with-get-token", dependencies=[Security(get_token, scopes=["read", "write"])] ) async def read_with_get_token(): return {"message": "Admin Access"} router = APIRouter(dependencies=[Security(oauth2_scheme, scopes=["read"])]) @router.get("/items/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.6K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java
* to be lightweight yet powerful, supporting various scopes of object lifecycle from * singleton instances to mojo-execution-scoped beans. * <p> * Key features include: * <ul> * <li>Constructor, method, and field injection</li> * <li>Qualifiers for distinguishing between beans of the same type</li> * <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 896 bytes - Viewed (0) -
tests/test_security_oauth2_optional.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.9K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
/** 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); sessionFactory.start(); } HttpUrl authorizeUrl = sessionFactory.newAuthorizeUrl(scopes, team, session -> { initOauthSession(session); System.out.printf("session granted: %s\n", session);
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
tests/test_dependency_cache.py
): return {"counter": count, "subcounter": subcount} @app.get("/scope-counter") async def get_scope_counter( count: int = Security(dep_counter), scope_count_1: int = Security(dep_counter, scopes=["scope"]), scope_count_2: int = Security(dep_counter, scopes=["scope"]), ): return { "counter": count, "scope_counter_1": scope_count_1,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0) -
tests/scopes_test.go
DB.Create(&users) var users1, users2, users3 []User DB.Scopes(NameIn1And2).Find(&users1) if len(users1) != 2 { t.Errorf("Should found two users's name in 1, 2, but got %v", len(users1)) } DB.Scopes(NameIn1And2, NameIn2And3).Find(&users2) if len(users2) != 1 { t.Errorf("Should found one user's name is 2, but got %v", len(users2)) } DB.Scopes(NameIn([]string{users[0].Name, users[2].Name})).Find(&users3)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java
* @param scopesToCollect The dependency scopes that should be collected, may be {@code null}. * @param scopesToResolve The dependency scopes that should be collected and also resolved, may be {@code null}. * @param session The current build session, must not be {@code null}. * @return The transitive dependencies of the specified project that match the requested scopes, never {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/sts/casdoor.md
claim_name (string) JWT canned policy claim name, defaults to "policy" claim_prefix (string) JWT claim namespace prefix e.g. "customer1/" scopes (csv) Comma separated list of OpenID scopes for server, defaults to advertised scopes from discovery document e.g. "email,admin" comment (sentence) optionally add a comment to this setting ``` and ENV based options ```
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.6K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java
* <p> * This interface allows plugins and extensions to define and register additional project scopes * beyond the standard {@link ProjectScope#MAIN} and {@link ProjectScope#TEST} scopes. * Implementations of this interface will be discovered through the Java ServiceLoader mechanism * and their provided project scopes will be available throughout the Maven build process. * <p> * Example usage: * <pre>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2K bytes - Viewed (0)