Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 611 for cscopes (0.24 seconds)

  1. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

    /**
     * An SPI interface to extend Maven with new enum values for extensible enumerations.
     * <p>
     * Maven uses extensible enumerations to allow plugins and extensions to add new values
     * to various categories like languages, scopes, and packaging types. This interface is the
     * base for all providers that register such extensions.
     * <p>
     * Implementations of this interface are discovered through the Java ServiceLoader mechanism.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/conditional-openapi.md

    * Never store plaintext passwords, only password hashes.
    * Implement and use well-known cryptographic tools, like pwdlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. tests/distinct_test.go

    	var names1 []string
    	DB.Model(&User{}).Where("name like ?", "distinct%").Distinct().Order("name").Pluck("Name", &names1)
    
    	AssertEqual(t, names1, []string{"distinct", "distinct-2", "distinct-3"})
    
    	var names2 []string
    	DB.Scopes(func(db *gorm.DB) *gorm.DB {
    		return db.Table("users")
    	}).Where("name like ?", "distinct%").Order("name").Pluck("name", &names2)
    	AssertEqual(t, names2, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

     */
    package org.codelibs.fess.score;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    /**
     * This class updates scores of documents.
     */
    public class ScoreUpdater {
        /**
         * Constructor.
         */
        public ScoreUpdater() {
            super();
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * TODO: this is session scoped as SPI can contribute.
     */
    @Named
    @Singleton
    public class DefaultPackagingRegistry
            extends ExtensibleEnumRegistries.DefaultExtensibleEnumRegistry<Packaging, PackagingProvider>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/security/oauth2-jwt.md

    /// note | Hinweis
    
    Beachten Sie den Header `Authorization` mit einem Wert, der mit `Bearer ` beginnt.
    
    ///
    
    ## Fortgeschrittene Verwendung mit `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 hat ein Konzept von <abbr title="Geltungsbereiche">„Scopes“</abbr>.
    
    Sie können diese verwenden, um einem JWT-Token einen bestimmten Satz von Berechtigungen zu übergeben.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 01 15:19:54 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | Nota
    
    Observa el header `Authorization`, con un valor que comienza con `Bearer `.
    
    ///
    
    ## Uso avanzado con `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 tiene la noción de "scopes".
    
    Puedes usarlos para agregar un conjunto específico de permisos a un token JWT.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  9. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
  10. docs/zh/docs/tutorial/security/oauth2-jwt.md

    /// note | 笔记
    
    注意,请求中 `Authorization` 响应头的值以 `Bearer` 开头。
    
    ///
    
    ## `scopes` 高级用法
    
    OAuth2 支持**`scopes`**(作用域)。
    
    **`scopes`**为 JWT 令牌添加指定权限。
    
    让持有令牌的用户或第三方在指定限制条件下与 API 交互。
    
    **高级用户指南**中将介绍如何使用 `scopes`,及如何把 `scopes` 集成至 **FastAPI**。
    
    ## 小结
    
    至此,您可以使用 OAuth2 和 JWT 等标准配置安全的 **FastAPI** 应用。
    
    几乎在所有框架中,处理安全问题很快都会变得非常复杂。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.9K bytes
    - Click Count (0)
Back to Top