Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 769 for scope2 (0.04 seconds)

  1. tests/test_route_scope.py

    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
                if (cleanGraph == null || cleanGraph.isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | Nota
    
    Perceba que o cabeçalho `Authorization`, com o valor que começa com `Bearer `.
    
    ///
    
    ## Uso avançado com `scopes` { #advanced-usage-with-scopes }
    
    O OAuth2 tem a noção de "scopes" (escopos).
    
    Você pode usá-los para adicionar um conjunto específico de permissões a um token JWT.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

     * and discarded after session execution completes.
     * <p>
     * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 12 06:14:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterFromBenchmark.java

    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.time.temporal.TemporalAccessor;
    import java.util.concurrent.TimeUnit;
    
    @Fork(3)
    @Warmup(iterations = 10)
    @Measurement(iterations = 10)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.NANOSECONDS)
    @State(Scope.Benchmark)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-api.xml

            <module name="JavadocType">
                <property name="scope" value="protected"/>
                <!-- Allow the use of unrecognized tags like @apiNote -->
                <property name="allowUnknownTags" value="true"/>
            </module>
    
            <!-- TODO - switch this on -->
            <!--<module name="JavadocMethod">-->
                <!--<property name="scope" value="package"/>-->
            <!--</module>-->
    
        </module>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Nov 17 23:20:14 GMT 2022
    - 1.6K bytes
    - Click Count (0)
  7. fastapi/params.py

            )
    
    
    @dataclass(frozen=True)
    class Depends:
        dependency: Callable[..., Any] | None = None
        use_cache: bool = True
        scope: Literal["function", "request"] | None = None
    
    
    @dataclass(frozen=True)
    class Security(Depends):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution.scope.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import org.apache.maven.execution.MojoExecutionListener;
    
    /**
     * MojoExecutionScopeCoreModule
     */
    @Named
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/security/oauth2-jwt.md

    /// note | Remarque
    
    Remarquez l'en-tête `Authorization`, avec une valeur qui commence par `Bearer `.
    
    ///
    
    ## Utilisation avancée avec `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 comporte la notion de « scopes ».
    
    Vous pouvez les utiliser pour ajouter un ensemble spécifique d'autorisations à un jeton JWT.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        mockWebServer.start(slackApi.port);
      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
          listeners.put(state, listener);
        }
    
        return slackApi.authorizeUrl(scopes, redirectUrl(), state, team);
      }
    
      private ByteString randomToken() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
Back to Top