Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 641 for zoeken (0.08 sec)

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

    ///
    
    ## Retorne o token
    
    A resposta do endpoint `token` deve ser um objeto JSON.
    
    Deve ter um `token_type`. No nosso caso, como estamos usando tokens "Bearer", o tipo de token deve ser "`bearer`".
    
    E deve ter um `access_token`, com uma string contendo nosso token de acesso.
    
    Para este exemplo simples, seremos completamente inseguros e retornaremos o mesmo `username` do token.
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/header-params.md

    중복 헤더의 모든 값을 파이썬 `list`로 수신합니다.
    
    예를 들어, 두 번 이상 나타날 수 있는 `X-Token`헤더를 선언하려면, 다음과 같이 작성합니다:
    
    ```Python hl_lines="9"
    {!../../docs_src/header_params/tutorial003.py!}
    ```
    
    다음과 같은 두 개의 HTTP 헤더를 전송하여 해당 *경로* 와 통신할 경우:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    응답은 다음과 같습니다:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## 요약
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. .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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 13 02:00:25 UTC 2024
    - 368 bytes
    - Viewed (0)
  4. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## Token JWT com escopos
    
    Agora, modifique o *caminho de rota* para retornar os escopos solicitados.
    
    Nós ainda estamos utilizando o mesmo `OAuth2PasswordRequestForm`. Ele inclui a propriedade `scopes` com uma `list` de `str`, com cada escopo que ele recebeu na requisição.
    
    E nós retornamos os escopos como parte do token JWT.
    
    /// danger | Cuidado
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java

        public void setExpires(final Date date) {
            setExpiredTime(date != null ? date.getTime() : null);
        }
    
        @Override
        public String toString() {
            return "AccessToken [name=" + name + ", token=" + token + ", permissions=" + Arrays.toString(permissions) + ", parameterName="
                    + parameterName + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", updatedBy=" + updatedBy
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. cni/pkg/install/install_test.go

    			validConfigFilename:   "list.conflist.golden",
    			saFilename:            "token-foo",
    		},
    		{
    			name:                "standalone CNI plugin",
    			cniConfigFilename:   "istio-cni.conf",
    			validConfigFilename: "istio-cni.conf",
    			saFilename:          "token-foo",
    			saNewFilename:       "token-bar",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## JWT token with scopes
    
    Now, modify the token *path operation* to return the scopes requested.
    
    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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top