Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 957 for scopes (0.1 sec)

  1. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

        client = TestClient(app)
        return client
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
        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
    - 16.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/bigger-applications.md

        * ๐Ÿ“ป ๐Ÿ”— ๐Ÿ› ๏ธ ๐Ÿฅ‡, โคด๏ธ [`dependencies` ๐Ÿ‘จโ€๐ŸŽจ](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, & โคด๏ธ ๐Ÿ˜ ๐Ÿ”ข ๐Ÿ”—.
        * ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšฎ [`Security` ๐Ÿ”— โฎ๏ธ `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank}.
    
    /// tip
    
    โœ”๏ธ `dependencies` `APIRouter` ๐Ÿ’ช โš™๏ธ, ๐Ÿ–ผ, ๐Ÿšš ๐Ÿค ๐ŸŽ‚ ๐Ÿ‘ช *โžก ๐Ÿ› ๏ธ*. ๐Ÿšฅ ๐Ÿ”— ๐Ÿšซ ๐Ÿšฎ ๐Ÿ“ฆ ๐Ÿ”  1๏ธโƒฃ ๐Ÿ‘ซ.
    
    ///
    
    /// check
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial005_an.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)
  4. helm/minio/templates/deployment.yaml

                - name: MINIO_IDENTITY_OPENID_CLAIM_PREFIX
                  value: {{ .Values.oidc.claimPrefix }}
                - name: MINIO_IDENTITY_OPENID_SCOPES
                  value: {{ .Values.oidc.scopes }}
                - name: MINIO_IDENTITY_OPENID_COMMENT
                  value: {{ .Values.oidc.comment }}
                - name: MINIO_IDENTITY_OPENID_REDIRECT_URI
                  value: {{ .Values.oidc.redirectUri }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            this.scopedVertices = scopedVertices;
    
            // scoped graph is versioned by definition
            if (scopedVertices) {
                versionedVertices = true;
            }
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial005_py310.py

        client = TestClient(app)
        return client
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
        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
    - 16.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_py39.py

        client = TestClient(app)
        return client
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
        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
    - 16.3K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

            dependency_scopes = depends.scopes
            security_scopes.extend(dependency_scopes)
        if isinstance(dependency, SecurityBase):
            use_scopes: List[str] = []
            if isinstance(dependency, (OAuth2, OpenIdConnect)):
                use_scopes = security_scopes
            security_requirement = SecurityRequirement(
                security_scheme=dependency, scopes=use_scopes
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. tests/count_test.go

    	sort.SliceStable(users, func(i, j int) bool {
    		return strings.Compare(users[i].Name, users[j].Name) < 0
    	})
    
    	AssertEqual(t, users, expects)
    
    	var count9 int64
    	if err := DB.Scopes(func(tx *gorm.DB) *gorm.DB {
    		return tx.Table("users")
    	}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Count(&count9).Find(&users).Error; err != nil || count9 != 3 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    )
    
    func setupLogging() {
    	opts := istiolog.DefaultOptions()
    	opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel)
    	istiolog.Configure(opts)
    	for _, scope := range istiolog.Scopes() {
    		scope.SetOutputLevel(istiolog.DebugLevel)
    	}
    }
    
    type netTestFixture struct {
    	netServer            *NetServer
    	podNsMap             *podNetnsCache
    	ztunnelServer        *fakeZtunnel
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 25 16:13:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top