Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 527 for broken (0.24 sec)

  1. cmd/signature-v4.go

    	if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) {
    		return ErrContentSHA256Mismatch
    	}
    	// Verify if security token is correct.
    	if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 {
    		return ErrInvalidToken
    	}
    
    	// Verify finally if signature is same.
    
    	// Get canonical request.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    func (p *Parser) have(token lex.ScanToken) bool {
    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    
    // at reports whether the next tokens are as requested.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg go/token, const AND_NOT_ASSIGN Token
    pkg go/token, const ARROW Token
    pkg go/token, const ASSIGN Token
    pkg go/token, const BREAK Token
    pkg go/token, const CASE Token
    pkg go/token, const CHAN Token
    pkg go/token, const CHAR Token
    pkg go/token, const COLON Token
    pkg go/token, const COMMA Token
    pkg go/token, const COMMENT Token
    pkg go/token, const CONST Token
    pkg go/token, const CONTINUE Token
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  4. fastapi/security/oauth2.py

        """
        OAuth2 flow for authentication using a bearer token obtained with an OAuth2 code
        flow. An instance of it would be used as a dependency.
        """
    
        def __init__(
            self,
            authorizationUrl: str,
            tokenUrl: Annotated[
                str,
                Doc(
                    """
                    The URL to obtain the OAuth2 token.
                    """
                ),
            ],
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. .github/workflows/add-to-project.yml

        name: Add to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v1.0.2
            with:
              project-url: https://github.com/orgs/fastapi/projects/2
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 13 02:00:25 UTC 2024
    - 368 bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/security/get-current-user.md

    # ๐Ÿคš โฎ๏ธ ๐Ÿ‘ฉโ€๐Ÿ’ป
    
    โฎ๏ธ ๐Ÿ“ƒ ๐Ÿ’‚โ€โ™‚ โš™๏ธ (โ” ๐Ÿงข ๐Ÿ”› ๐Ÿ”— ๐Ÿ’‰ โš™๏ธ) ๐Ÿค *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* `token` `str`:
    
    ```Python hl_lines="10"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    โœ‹๏ธ ๐Ÿ‘ˆ ๐Ÿšซ ๐Ÿ‘ˆ โš .
    
    โžก๏ธ โš’ โšซ๏ธ ๐Ÿค ๐Ÿ‘ฅ โฎ๏ธ ๐Ÿ‘ฉโ€๐Ÿ’ป.
    
    ## โœ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿท
    
    ๐Ÿฅ‡, โžก๏ธ โœ Pydantic ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿท.
    
    ๐ŸŽ ๐ŸŒŒ ๐Ÿ‘ฅ โš™๏ธ Pydantic ๐Ÿ“ฃ ๐Ÿ’ช, ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ โšซ๏ธ ๐Ÿ™† ๐Ÿ™†:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ &amp; ๐Ÿ”›
    
    ```Python hl_lines="5  12-16"
    {!> ../../docs_src/security/tutorial002.py!}
    ```
    
    ////
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. tests/test_security_oauth2_optional.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        },
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. internal/s3select/csv/args.go

    	args.QuoteEscapeCharacter = defaultQuoteEscapeCharacter
    	args.CommentCharacter = defaultCommentCharacter
    	args.AllowQuotedRecordDelimiter = false
    
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			tagName := se.Name.Local
    			switch tagName {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.cc

        TFE_CancellationToken token) {
      return tensorflow::unwrap(cancellation_manager)->DeregisterCallback(token);
    }
    
    bool TFE_CancellationManagerTryDeregisterCallback(
        TFE_CancellationManager* cancellation_manager,
        TFE_CancellationToken token) {
      return tensorflow::unwrap(cancellation_manager)->TryDeregisterCallback(token);
    }
    
    void TFE_DeleteCancellationManager(
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. internal/grid/msg.go

    type sender interface {
    	msgp.MarshalSizer
    	Op() Op
    }
    
    type connectReq struct {
    	ID    [16]byte
    	Host  string
    	Time  time.Time
    	Token string
    }
    
    // addToken will add the token to the connect request.
    func (c *connectReq) addToken(fn AuthFn) {
    	c.Token = fn()
    }
    
    func (connectReq) Op() Op {
    	return OpConnect
    }
    
    type connectResp struct {
    	ID             [16]byte
    	Accepted       bool
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top