Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 725 for scopes (0.21 seconds)

  1. docs/en/docs/tutorial/security/simple-oauth2.md

    The spec also states that the `username` and `password` must be sent as form data (so, no JSON here).
    
    ### `scope` { #scope }
    
    The spec also says that the client can send another form field "`scope`".
    
    The form field name is `scope` (in singular), but it is actually a long string with "scopes" separated by spaces.
    
    Each "scope" is just a string (without spaces).
    
    They are normally used to declare specific security permissions, for example:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/security/simple-oauth2.md

    ### `scope` { #scope }
    
    La especificación también indica que el cliente puede enviar otro campo del formulario llamado "`scope`".
    
    El nombre del campo del formulario es `scope` (en singular), pero en realidad es un string largo con "scopes" separados por espacios.
    
    Cada "scope" es simplemente un string (sin espacios).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Table(name, args...)
    	})
    }
    
    func (c chainG[T]) Scopes(scopes ...func(db *Statement)) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		for _, fc := range scopes {
    			fc(db.Statement)
    		}
    		return db
    	})
    }
    
    func (c chainG[T]) Where(query interface{}, args ...interface{}) ChainInterface[T] {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  4. tests/test_security_oauth2_authorization_code_bearer.py

                        "flows": {
                            "authorizationCode": {
                                "authorizationUrl": "authorize",
                                "tokenUrl": "token",
                                "scopes": {},
                            }
                        },
                    }
                }
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            if (scopeId == null || scopeId.isEmpty()) {
                scope = DependencyScope.COMPILE;
            } else {
                scope = DependencyScope.forId(scopeId);
            }
            return scope == null || !scope.isTransitive();
        }
    
        private Dependency merge(Dependency dep1, Dependency dep2) {
            throw new IllegalArgumentException("Duplicate dependency: " + getDependencyKey(dep1));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/security/oauth2-jwt.md

    /// 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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. docs/en/docs/reference/dependencies.md

    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 671 bytes
    - Click Count (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

        this.port = port;
      }
    
      /** See https://api.slack.com/docs/oauth. */
      public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) {
        HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize")
            .addQueryParameter("client_id", clientId)
            .addQueryParameter("scope", scopes)
            .addQueryParameter("redirect_uri", redirectUrl.toString())
            .addQueryParameter("state", state.base64());
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  9. fastapi/param_functions.py

                directly.
                """
            ),
        ] = None,
        *,
        scopes: Annotated[
            Optional[Sequence[str]],
            Doc(
                """
                OAuth2 scopes required for the *path operation* that uses this Security
                dependency.
    
                The term "scope" comes from the OAuth2 specification, it seems to be
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  10. fastapi/openapi/utils.py

            # Merge scopes for the same security scheme
            if security_name not in operation_security_dict:
                operation_security_dict[security_name] = []
            for scope in security_dependency.oauth_scopes or []:
                if scope not in operation_security_dict[security_name]:
                    operation_security_dict[security_name].append(scope)
        operation_security = [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
Back to Top