Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 746 for scouse (0.14 sec)

  1. docs/zh/docs/advanced/security/oauth2-scopes.md

                            * `security_scopes` 参数的属性 `scopes` 是包含上述声明的所有作用域的**列表**,因此:
                                * `security_scopes.scopes` 包含用于*路径操作*的 `["me", "items"]`
                                * `security_scopes.scopes` 包含*路径操作* `read_users_me` 的 `["me"]`,因为它在依赖项里被声明
                                * `security_scopes.scopes` 包含用于*路径操作* `read_system_status` 的 `[]`(空列表),并且它的依赖项 `get_current_user` 也没有声明任何 `scope`
    
    !!! tip "提示"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:43:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

    We are still using the same `OAuth2PasswordRequestForm`. It includes a property `scopes` with a `list` of `str`, with each scope it received in the request.
    
    And we return the scopes as part of the JWT token.
    
    !!! danger
        For simplicity, here we are just adding the scopes received directly to the token.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/security/oauth2-scopes.md

        ```
    
    ## Abhängigkeitsbaum und Scopes
    
    Sehen wir uns diesen Abhängigkeitsbaum und die Scopes noch einmal an.
    
    Da die Abhängigkeit `get_current_active_user` von `get_current_user` abhängt, wird der bei `get_current_active_user` deklarierte Scope `"me"` in die Liste der erforderlichen Scopes in `security_scopes.scopes` aufgenommen, das an `get_current_user` übergeben wird.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/scope.go

    func NewScope(parent *Scope, pos, end syntax.Pos, comment string) *Scope {
    	s := &Scope{parent, nil, 0, nil, pos, end, comment, false}
    	// don't add children to Universe scope!
    	if parent != nil && parent != Universe {
    		parent.children = append(parent.children, s)
    		s.number = len(parent.children)
    	}
    	return s
    }
    
    // Parent returns the scope's containing (parent) scope.
    func (s *Scope) Parent() *Scope { return s.parent }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/go/types/scope.go

    // and looked up by name. The zero value for Scope is a ready-to-use
    // empty scope.
    type Scope struct {
    	parent   *Scope
    	children []*Scope
    	number   int               // parent.children[number-1] is this scope; 0 if there is no parent
    	elems    map[string]Object // lazily allocated
    	pos, end token.Pos         // scope extent; may be invalid
    	comment  string            // for debugging only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/scope.h

      // scopes, or scopes derived from an existing scope object.
    
      /// Return a new scope.
      /// This creates a new graph and all operations constructed in this graph
      /// should use the returned object as the "root" scope.
      static Scope NewRootScope();
    
      /// Return a new scope. Ops created with this scope will have
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/scope.cc

    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/lib/strings/str_util.h"
    
    namespace tensorflow {
    
    Scope::Scope(Impl* impl) : impl_(impl) {}
    
    Scope::Scope(const Scope& other) : impl_(new Impl(*other.impl())) {}
    
    Scope::~Scope() {}
    
    Scope& Scope::operator=(const Scope& other) {
      // We can't copy Impls because of the const members, use copy ctor instead
      impl_.reset(new Impl(*other.impl_));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. src/go/types/signature.go

    		}
    	}
    
    	// Use a temporary scope for all parameter declarations and then
    	// squash that scope into the parent scope (and report any
    	// redeclarations at that time).
    	//
    	// TODO(adonovan): now that each declaration has the correct
    	// scopePos, there should be no need for scope squashing.
    	// Audit to ensure all lookups honor scopePos and simplify.
    	scope := NewScope(check.scope, nopos, nopos, "function body (temp. scope)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/signature.go

    	}
    
    	// Use a temporary scope for all parameter declarations and then
    	// squash that scope into the parent scope (and report any
    	// redeclarations at that time).
    	//
    	// TODO(adonovan): now that each declaration has the correct
    	// scopePos, there should be no need for scope squashing.
    	// Audit to ensure all lookups honor scopePos and simplify.
    	scope := NewScope(check.scope, nopos, nopos, "function body (temp. scope)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. fastapi/security/oauth2.py

            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top