Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 620 for mytoken (0.05 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            int byteCountValue = 16 + 10; // guid + token
            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            System.arraycopy(guid, 0, buffer, 0, 16);
            byte[] token = new byte[10];
            for (int i = 0; i < 10; i++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

        /**
         * Constructs a KerberosTicket from token bytes.
         *
         * @param token the ticket token bytes
         * @param apOptions AP options flags
         * @param keys array of Kerberos keys for decryption
         * @throws PACDecodingException if ticket decoding fails
         */
        public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException {
            if (token.length <= 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="api/oauth/authorize",
        tokenUrl="/api/oauth/token",
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/security/first-steps.md

    {* ../../docs_src/security/tutorial001.py hl[6] *}
    
    /// tip | 提示
    
    在此,`tokenUrl="token"` 指向的是暂未创建的相对 URL `token`。这个相对 URL 相当于 `./token`。
    
    因为使用的是相对 URL,如果 API 位于 `https://example.com/`,则指向 `https://example.com/token`。但如果 API 位于 `https://example.com/api/v1/`,它指向的就是`https://example.com/api/v1/token`。
    
    使用相对 URL 非常重要,可以确保应用在遇到[使用代理](../../advanced/behind-a-proxy.md){.internal-link target=_blank}这样的高级用例时,也能正常运行。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## Token JWT con scopes { #jwt-token-with-scopes }
    
    Ahora, modifica la *path operation* del token para devolver los scopes solicitados.
    
    Todavía estamos usando el mismo `OAuth2PasswordRequestForm`. Incluye una propiedad `scopes` con una `list` de `str`, con cada scope que recibió en el request.
    
    Y devolvemos los scopes como parte del token JWT.
    
    /// danger | Peligro
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## Retorne o token { #return-the-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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/EditBody.java

    import org.codelibs.fess.app.web.admin.accesstoken.EditForm;
    
    /**
     * Request body class for access token edit operations in the admin REST API.
     * This class extends EditForm to inherit the necessary form validation and binding capabilities
     * for access token management operations.
     */
    public class EditBody extends EditForm {
    
        /**
         * Default constructor.
         */
        public EditBody() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. .github/workflows/latest-changes.yml

          # Ref: https://github.com/actions/checkout/issues/2313
          - uses: actions/checkout@v5
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 14:58:32 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  9. .github/workflows/validate-codeowners.yml

    on:
      push:
        branches:
          - master
      pull_request:
      workflow_dispatch:
    
    permissions: { }
    
    jobs:
      code-owners-validation:
        permissions:
          contents: read
          id-token: write
        runs-on: ubuntu-latest
        steps:
          - name: Get Secrets
            uses: gradle/actions-internal/get-aws-secrets@v1
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. docs_src/request_forms_and_files/tutorial001_an_py39.py

    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 386 bytes
    - Click Count (0)
Back to Top