Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 486 for token5 (0.1 seconds)

  1. src/main/java/jcifs/pac/kerberos/KerberosToken.java

    /**
     * Represents a Kerberos authentication token.
     */
    public class KerberosToken {
    
        private KerberosApRequest apRequest;
    
        /**
         * Constructs a KerberosToken from token bytes.
         *
         * @param token the token bytes
         * @throws PACDecodingException if token decoding fails
         */
        public KerberosToken(byte[] token) throws PACDecodingException {
            this(token, null);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when an invalid access token is encountered.
     * This exception is typically used in authentication and authorization contexts
     * where a provided access token is invalid, expired, or malformed.
     */
    public class InvalidAccessTokenException extends FessSystemException {
    
        /** Serial version UID for serialization */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. docs_src/security/tutorial001_an_py310.py

    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    @app.get("/items/")
    async def read_items(token: Annotated[str, Depends(oauth2_scheme)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 309 bytes
    - Click Count (0)
  5. docs_src/request_forms_and_files/tutorial001_an_py310.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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 386 bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

            this.offset = offset;
            this.token = token;
            this.length = length;
        }
    
        /**
         * Get buffer offset
         *
         * @return offset within registered buffer
         */
        public long getOffset() {
            return offset;
        }
    
        /**
         * Get RDMA token
         *
         * @return RDMA provider token
         */
        public int getToken() {
            return token;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

            this.targetName = targetName;
        }
    
        @Override
        public byte[] initSecContext(final byte[] token, final int offset, final int len) throws SmbException {
            return switch (this.state) {
            case 1 -> makeNegotiate(token);
            case 2 -> makeAuthenticate(token);
            default -> throw new SmbException("Invalid state");
            };
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  8. docs/ja/docs/tutorial/security/oauth2-jwt.md

    これでセキュリティの流れが全てわかったので、<abbr title="JSON Web Tokens - JSON Web Token">JWT</abbr>トークンと安全なパスワードのハッシュ化を使用して、実際にアプリケーションを安全にしてみましょう。
    
    このコードは、アプリケーションで実際に使用したり、パスワードハッシュをデータベースに保存するといった用途に利用できます。
    
    本章では、前章の続きから始めて、コードをアップデートしていきます。
    
    ## JWT について { #about-jwt }
    
    JWTとは「JSON Web Tokens」の略称です。
    
    JSONオブジェクトをスペースのない長く密集した文字列で表現したトークンの仕様です。例えば次のようになります:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.6K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/it/ITBase.java

        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
            if (testToken != null) {
                logger.info("Token: {}", testToken);
                return testToken;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            dstIndex += pad8(dstIndex);
    
            if (this.token != null) {
                System.arraycopy(this.token, 0, dst, dstIndex, this.token.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top