Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 197 for escopos (0.04 seconds)

  1. docs/sts/web-identity.go

    		"OpenID discovery document endpoint")
    	flag.StringVar(&clientID, "cid", "", "Client ID")
    	flag.StringVar(&clientSec, "csec", "", "Client Secret")
    	flag.StringVar(&clientScopes, "cscopes", "openid", "Client Scopes")
    	flag.IntVar(&port, "port", 8080, "Port")
    }
    
    func implicitFlowURL(c oauth2.Config, state string) string {
    	var buf bytes.Buffer
    	buf.WriteString(c.Endpoint.AuthURL)
    	v := url.Values{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
  2. docs/sts/README.md

        "SignerType": 1
      }
    }
    ```
    
    > NOTE: You can use the `-cscopes` parameter to restrict the requested scopes, for example to `"openid,policy_role_attribute"`, being `policy_role_attribute` a client_scope / client_mapper that maps a role attribute called policy to a `policy` claim returned by Keycloak.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. docs_src/security/tutorial005_py39.py

            token_data = TokenData(scopes=token_scopes, username=username)
        except (InvalidTokenError, ValidationError):
            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
        if user is None:
            raise credentials_exception
        for scope in security_scopes.scopes:
            if scope not in token_data.scopes:
                raise HTTPException(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. tests/test_security_scopes_sub_dependency.py

            call_counts["get_current_user"] += 1
            return {
                "user": f"user_{call_counts['get_current_user']}",
                "scopes": security_scopes.scopes,
                "db_session": db_session,
            }
    
        def get_user_me(
            current_user: Annotated[dict, Security(get_current_user, scopes=["me"])],
        ):
            call_counts["get_user_me"] += 1
            return {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/net/UrlEscapers.java

          new PercentEscaper(URL_FORM_PARAMETER_OTHER_SAFE_CHARS, true);
    
      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
       * href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned
       * escaper escapes all non-ASCII characters, even though <a
       * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // If the string contains no escapes, it should return the arg.
        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
        // Tests escapes at begin and end of string.
        assertEquals("&lt;p&gt;", htmlEscaper().escape("<p>"));
    
        // Test all escapes.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 22:03:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. tests/test_dependency_security_overrides.py

        return "john", required_scopes.scopes
    
    
    def get_user_override(required_scopes: SecurityScopes):
        return "alice", required_scopes.scopes
    
    
    def get_data():
        return [1, 2, 3]
    
    
    def get_data_override():
        return [3, 4, 5]
    
    
    @app.get("/user")
    def read_user(
        user_data: tuple[str, list[str]] = Security(get_user, scopes=["foo", "bar"]),
        data: list[int] = Depends(get_data),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

         *
         * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(Collection<String> scopes) {
            this.scopes = new HashSet<>();
    
            addScopes(scopes);
        }
    
        /**
         * Creates a new filter that combines the specified filters.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. docs_src/security/tutorial005_py310.py

            token_data = TokenData(scopes=token_scopes, username=username)
        except (InvalidTokenError, ValidationError):
            raise credentials_exception
        user = get_user(fake_users_db, username=token_data.username)
        if user is None:
            raise credentials_exception
        for scope in security_scopes.scopes:
            if scope not in token_data.scopes:
                raise HTTPException(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. fastapi/security/oauth2.py

                    """
                ),
            ] = None,
        ):
            if not scopes:
                scopes = {}
            flows = OAuthFlowsModel(
                password=cast(
                    Any,
                    {
                        "tokenUrl": tokenUrl,
                        "refreshUrl": refreshUrl,
                        "scopes": scopes,
                    },
                )
            )
            super().__init__(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 22K bytes
    - Click Count (0)
Back to Top