Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 252 for authenticated (0.1 sec)

  1. internal/crypto/key.go

    	}
    	return iv
    }
    
    // SealedKey represents a sealed object key. It can be stored
    // at an untrusted location.
    type SealedKey struct {
    	Key       [64]byte // The encrypted and authenticated object-key.
    	IV        [32]byte // The random IV used to encrypt the object-key.
    	Algorithm string   // The sealing algorithm used to encrypt the object key.
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DuplexTest.kt

        enableProtocol(Protocol.HTTP_2)
        val credential = basic("jesse", "secret")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val body1 =
          MockStreamHandler()
            .sendResponse("please authenticate!\n")
            .requestIOException()
            .exhaustResponse()
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/security/simple-oauth2.md

    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    ```Python hl_lines="58-67  69-72  90"
    {!../../docs_src/security/tutorial003.py!}
    ```
    
    /// info | "说明"
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401**UNAUTHORIZED**HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    实际上,忽略这个附加响应头,也不会有什么问题。
    
    之所以在此提供这个附加响应头,是为了符合规范的要求。
    
    说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。
    
    这就是遵循标准的好处……
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    }
    
    // Check request auth type verifies the incoming http request
    //   - validates the request signature
    //   - validates the policy action if anonymous tests bucket policies if any,
    //     for authenticated requests validates IAM policies.
    //
    // returns APIErrorCode if any to be replied to the client.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. internal/config/identity/openid/openid.go

    		},
    	}
    )
    
    var errSingleProvider = config.Errorf("Only one OpenID provider can be configured if not using role policy mapping")
    
    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    	if err != nil {
    		panic("should not happen!")
    	}
    	return v
    }()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/security/simple-oauth2.md

    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    /// info | Informação
    
    O cabeçalho adicional `WWW-Authenticate` com valor `Bearer` que estamos retornando aqui também faz parte da especificação.
    
    Qualquer código de status HTTP (erro) 401 "UNAUTHORIZED" também deve retornar um cabeçalho `WWW-Authenticate`.
    
    No caso de tokens ao portador (nosso caso), o valor desse cabeçalho deve ser `Bearer`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. internal/etag/etag.go

    //
    // Therefore, an S3 implementation may encrypt an ETag before storing
    // it. In this case, the stored ETag may not be a well-formed S3 ETag.
    // For example, it can be larger due to a checksum added by authenticated
    // encryption schemes. Such an ETag must be decrypted before sent to an
    // S3 client.
    //
    // # S3 Clients
    //
    // There are many different S3 client implementations. Most of them
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/security/simple-oauth2.md

    ```Python hl_lines="55-64  67-70  88"
    {!> ../../docs_src/security/tutorial003_py310.py!}
    ```
    
    ////
    
    /// 정보
    
    여기서 반환하는 값이 `Bearer`인 추가 헤더 `WWW-Authenticate`도 사양의 일부입니다.
    
    모든 HTTP(오류) 상태 코드 401 "UNAUTHORIZED"는 `WWW-Authenticate` 헤더도 반환해야 합니다.
    
    베어러 토큰의 경우(지금의 경우) 해당 헤더의 값은 `Bearer`여야 합니다.
    
    실제로 추가 헤더를 건너뛸 수 있으며 여전히 작동합니다.
    
    그러나 여기에서는 사양을 준수하도록 제공됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/oauth2-scopes.md

    They will be checked independently for each *path operation*.
    
    ## Check it
    
    If you open the API docs, you can authenticate and specify which scopes you want to authorize.
    
    <img src="/img/tutorial/security/image11.png">
    
    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. cmd/auth-handler_test.go

    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    // Tests is requested authenticated function, tests replies for s3 errors.
    func TestIsReqAuthenticated(t *testing.T) {
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top