Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,134 for securely (0.05 seconds)

  1. docs_src/security/tutorial002_py310.py

    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 711 bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.lang.reflect.Field;
    import java.security.AccessController;
    import java.security.PrivilegedActionException;
    import java.security.PrivilegedExceptionAction;
    import java.util.Random;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

    import static org.mockito.Mockito.mockStatic;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.DigestException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/security/oauth2-jwt.md

    新しいアクセストークンを生成するユーティリティ関数を作成します。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## 依存関係の更新 { #update-the-dependencies }
    
    `get_current_user`を更新して、先ほどと同じトークンを受け取るようにしますが、今回はJWTトークンを使用します。
    
    受け取ったトークンをデコードして検証し、現在のユーザーを返します。
    
    トークンが無効な場合は、すぐにHTTPエラーを返します。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    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)
  5. docs_src/security/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 761 bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    また、コード内の未使用のパラメータを見た新しい開発者が、それを不要だと思って混乱するのを避ける助けにもなるかもしれません。
    
    ///
    
    /// info | 情報
    
    この例では、架空のカスタムヘッダー `X-Key` と `X-Token` を使用しています。
    
    しかし実際のケースでセキュリティを実装する際は、統合された[Security utilities(次の章)](../security/index.md)を使うことで、より多くの利点を得られます。
    
    ///
    
    ## 依存関係のエラーと戻り値 { #dependencies-errors-and-return-values }
    
    通常使用している依存関係の*関数*と同じものを使用できます。
    
    ### 依存関係の要件 { #dependency-requirements }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                return batchLimits[8];
            }
            return 0;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    
            if (session.transport.server.security == SECURITY_SHARE && (session.auth.hashesExternal || session.auth.password.length() > 0)) {
    
                if (session.transport.server.encryptedPasswords) {
                    // encrypted
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. docs/sts/web-identity.md

    an application (for example, on mobile devices) that requests temporary security credentials without including MinIO long lasting credentials in the application. Instead, the identity of the caller is validated by using a JWT id_token from the web identity provider. The temporary security credentials returned by this API consists of an access key, a secret key, and a security token. Applications can use these temporary security credentials to sign calls to MinIO API operations.
    
    By default, the...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Sent by the server to indicate that the server and client are
         * on the same machine. This implies that the server will include
         * a local security context handle in the Type 2 message, for
         * use in local authentication.
         */
        int NTLMSSP_NEGOTIATE_LOCAL_CALL = 0x00004000;
    
        /**
         * Indicates that authenticated communication between the client
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. docs/ru/docs/how-to/authentication-error-status-code.md

    Но если по какой-то причине ваши клиенты зависят от старого поведения, вы можете вернуть его, переопределив метод `make_not_authenticated_error` в ваших Security-классах.
    
    Например, вы можете создать подкласс `HTTPBearer`, который будет возвращать ошибку `403 Forbidden` вместо стандартной `401 Unauthorized`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top