Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 957 for scopes (0.14 sec)

  1. tests/test_tutorial/test_security/test_tutorial003_an_py310.py

                            ),
                            "username": {"title": "Username", "type": "string"},
                            "password": {"title": "Password", "type": "string"},
                            "scope": {"title": "Scope", "type": "string", "default": ""},
                            "client_id": IsDict(
                                {
                                    "title": "Client Id",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial003_py310.py

                            ),
                            "username": {"title": "Username", "type": "string"},
                            "password": {"title": "Password", "type": "string"},
                            "scope": {"title": "Scope", "type": "string", "default": ""},
                            "client_id": IsDict(
                                {
                                    "title": "Client Id",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (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 Passlib 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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:21:54 UTC 2024
    - 2.3K bytes
    - Viewed (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"})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    	"golang.org/x/time/rate"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var installLog = scopes.CNIAgent
    
    type Installer struct {
    	cfg                *config.InstallConfig
    	isReady            *atomic.Value
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial005.py

        fake_users_db,
        get_password_hash,
        verify_password,
    )
    
    client = TestClient(app)
    
    
    def get_access_token(username="johndoe", password="secret", scope=None):
        data = {"username": username, "password": password}
        if scope:
            data["scope"] = scope
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

         * annotated with the {@link Resolution} annotation.
         */
        @Nonnull
        boolean dependencyCollection() default false;
    
        /**
         * Comma separated list of path scopes that will be
         * required for dependency resolution.
         * If not set, it will be inferred from the fields
         * annotated with the {@link Resolution} annotation.
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                String type,
                String classifier,
                String scope,
                String inheritedScope,
                boolean optional) {
            String desiredScope = Artifact.SCOPE_RUNTIME;
    
            if (inheritedScope == null) {
                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/security/simple-oauth2.md

    ### `scope`
    
    A especificação também diz que o cliente pode enviar outro campo de formulário "`scope`" (Escopo).
    
    O nome do campo do formulário é `scope` (no singular), mas na verdade é uma longa string com "escopos" separados por espaços.
    
    Cada “scope” é apenas uma string (sem espaços).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/security/simple-oauth2.md

    그러나 일반적인 사용 사례이므로 더 쉽게 하기 위해 **FastAPI**에서 직접 제공합니다.
    
    ///
    
    ### 폼 데이터 사용하기
    
    /// 팁
    
    종속성 클래스 `OAuth2PasswordRequestForm`의 인스턴스에는 공백으로 구분된 긴 문자열이 있는 `scope` 속성이 없고 대신 전송된 각 범위에 대한 실제 문자열 목록이 있는 `scopes` 속성이 있습니다.
    
    이 예제에서는 `scopes`를 사용하지 않지만 필요한 경우, 기능이 있습니다.
    
    ///
    
    이제 폼 필드의 `username`을 사용하여 (가짜) 데이터베이스에서 유저 데이터를 가져옵니다.
    
    해당 사용자가 없으면 "잘못된 사용자 이름 또는 패스워드"라는 오류가 반환됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top