Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 628 for retorno (0.04 sec)

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

    Decodifique o token recebido, verifique-o e retorne o usuário atual.
    
    Se o token for inválido, retorne um erro HTTP imediatamente.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Atualize a *operação de rota* `/token`
    
    Crie um `timedelta` com o tempo de expiração do token.
    
    Crie um token de acesso JWT real e o retorne.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/security/oauth2-jwt.md

    ## Instalar `PyJWT`
    
    Necesitamos instalar `PyJWT` para generar y verificar los tokens JWT en Python.
    
    Asegúrate de crear un [entorno virtual](../../virtual-environments.md){.internal-link target=_blank}, activarlo y luego instalar `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

         * @return the logon count
         */
        public short getLogonCount() {
            return this.logonCount;
        }
    
        /**
         * Returns the number of failed password attempts for this user.
         * @return the bad password count
         */
        public short getBadPasswordCount() {
            return this.badPasswordCount;
        }
    
        /**
         * Returns the user's account name.
         * @return the user name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        @Test
        @DisplayName("Test size returns zero for empty message")
        void testSizeReturnsZero() {
            // Given
            when(request.size()).thenReturn(0);
    
            // When
            int result = request.size();
    
            // Then
            assertEquals(0, result);
            verify(request, times(1)).size();
        }
    
        @Test
        @DisplayName("Test size returns large value for large message")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. docs/pt/docs/async.md

    async def get_burgers(number: int):
        # Faz alguma coisa assíncrona para criar os hambúrgueres
        return burgers
    ```
    
    ...ao invés de `def`:
    
    ```Python hl_lines="2"
    # Isso não é assíncrono
    def get_sequential_burgers(number: int):
        # Faz alguma coisa sequencial para criar os hambúrgueres
        return burgers
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResourceLocator.java

         *
         * @return URL to the DFS volume
         */
        String getDfsPath();
    
        /**
         * Returns the transport port number for this SMB resource connection.
         *
         * @return the transport port, if specified
         */
        int getPort();
    
        /**
         * Returns the original URL object used to create this SMB resource.
         *
         * @return the original URL
         */
        URL getURL();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

      private Strings() {}
    
      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is non-null; {@code ""} if it is null
       */
      public static String nullToEmpty(@Nullable String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            boolean result = session.isInUse();
    
            assertEquals(inUse, result);
            verify(session, times(1)).isInUse();
        }
    
        // Happy path + edge: getSessionKey returns bytes, empty and null
        @Test
        @DisplayName("getSessionKey returns bytes, empty, then null")
        void getSessionKey_variants() throws CIFSException {
            byte[] key = new byte[] { 10, 20 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case -1:
              return ((k & 1) == 0) ? 1 : -1;
            case 2:
              return (k < Long.SIZE) ? 1L << k : 0;
            case -2:
              if (k < Long.SIZE) {
                return ((k & 1) == 0) ? 1L << k : -(1L << k);
              } else {
                return 0;
              }
            default:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    		if partNumber == part.Number {
    			return i
    		}
    	}
    	return -1
    }
    
    // objectPartIndexNums returns the index of the specified part number.
    // Returns -1 if the part cannot be found.
    func objectPartIndexNums(parts []int, partNumber int) int {
    	for i, part := range parts {
    		if part != 0 && partNumber == part {
    			return i
    		}
    	}
    	return -1
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top