Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 310 for authenticated (0.07 seconds)

  1. docs/zh/docs/advanced/security/oauth2-scopes.md

    `security_scopes` 对象(类型为 `SecurityScopes`)还提供了一个 `scope_str` 属性,它是一个用空格分隔这些作用域的单个字符串(我们将会用到它)。
    
    我们创建一个 `HTTPException`,后面可以在多个位置复用(`raise`)它。
    
    在这个异常中,我们包含所需的作用域(如果有的话),以空格分隔的字符串(使用 `scope_str`)。我们把这个包含作用域的字符串放在 `WWW-Authenticate` 响应头中(这是规范要求的一部分)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## 校验 `username` 与数据形状 { #verify-the-username-and-data-shape }
    
    我们校验是否获取到了 `username`,并提取作用域。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    `security_scopes` 物件(類別 `SecurityScopes`)也提供 `scope_str` 屬性,為一個字串,包含那些以空白分隔的 scopes(我們會用到)。
    
    我們建立一個可在多處重複丟出(`raise`)的 `HTTPException`。
    
    在這個例外中,我們把所需的 scopes(若有)以空白分隔的字串形式(透過 `scope_str`)加入,並將該包含 scopes 的字串放在 `WWW-Authenticate` 標頭中(這是規格的一部分)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## 驗證 `username` 與資料結構 { #verify-the-username-and-data-shape }
    
    我們先確認取得了 `username`,並取出 scopes。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x7d) // == Literal indexed ==
        // Indexed name (idx = 60) -> "www-authenticate"
        bytesIn.writeByte(0x05) // Literal value (len = 5)
        bytesIn.writeUtf8("Basic")
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.getAndResetHeaderList())
          .containsExactly(Header("www-authenticate", "Basic"))
      }
    
      @Test
      fun readLiteralHeaderWithIncrementalIndexingDynamicName() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            }
    
            @Override
            public boolean isRequestedSessionIdFromURL() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public boolean authenticate(jakarta.servlet.http.HttpServletResponse response) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public void login(String username, String password) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/security/oauth2-scopes.md

    Nesta exceção, nós incluímos os escopos necessários (se houver algum) como uma string separada por espaços (utilizando `scope_str`). Nós colocamos esta string contendo os escopos no cabeçalho `WWW-Authenticate` (isso é parte da especificação).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Verifique o `username` e o formato dos dados { #verify-the-username-and-data-shape }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    proxy = new Proxy(Type.HTTP, addr);
                    if (StringUtil.isNotBlank(getHttpProxyUsername())) {
                        Authenticator.setDefault(new Authenticator() {
                            @Override
                            protected PasswordAuthentication getPasswordAuthentication() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  7. internal/config/identity/ldap/ldap.go

    	}
    
    	// Lookup user DN
    	lookupResult, err := l.LDAP.LookupUsername(conn, username)
    	if err != nil {
    		errRet := fmt.Errorf("Unable to find user DN: %w", err)
    		return nil, nil, errRet
    	}
    
    	// Authenticate the user credentials.
    	err = conn.Bind(lookupResult.ActualDN, password)
    	if err != nil {
    		errRet := fmt.Errorf("LDAP auth failed for DN %s: %w", lookupResult.ActualDN, err)
    		return nil, nil, errRet
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                }
    
                @Override
                public boolean isRequestedSessionIdFromURL() {
                    return false;
                }
    
                @Override
                public boolean authenticate(jakarta.servlet.http.HttpServletResponse response) {
                    return false;
                }
    
                @Override
                public void login(String username, String password) {
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/security/oauth2-scopes.md

    En esta excepción, incluimos los scopes requeridos (si los hay) como un string separado por espacios (usando `scope_str`). Ponemos ese string que contiene los scopes en el header `WWW-Authenticate` (esto es parte de la especificación).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Verificar el `username` y la forma de los datos { #verify-the-username-and-data-shape }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  10. CONTRIBUTING.md

    developing Gradle. By default, the build is [configured](https://github.com/gradle/gradle-org-conventions-plugin#what-it-does) to use the build cache node in the EU region.
    
    The build cache has anonymous read access, so you don't need to authenticate in order to use it. You can use a different build cache node by specifying `-Ddevelocity.edge.discovery=false -DcacheNode=us` for a build cache node in the US or `-Ddevelocity.edge.discovery=false -DcacheNode=au` for a build cache node in Australia....
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top