Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for Ismail (0.16 sec)

  1. docs/zh/docs/tutorial/security/get-current-user.md

    
    ## 其它模型
    
    接下来,直接在*路径操作函数*中获取当前用户,并用 `Depends` 在**依赖注入**系统中处理安全机制。
    
    开发者可以使用任何模型或数据满足安全需求(本例中是 Pydantic 的 `User` 模型)。
    
    而且,不局限于只能使用特定的数据模型、类或类型。
    
    不想在模型中使用 `username`,而是使用 `id` 和 `email`?当然可以。这些工具也支持。
    
    只想使用字符串?或字典?甚至是数据库类模型的实例?工作方式都一样。
    
    实际上,就算登录应用的不是用户,而是只拥有访问令牌的机器人、程序或其它系统?工作方式也一样。
    
    尽管使用应用所需的任何模型、类、数据库。**FastAPI** 通过依赖注入系统都能帮您搞定。
    
    
    ## 代码大小
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:46:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
    
        protected void saveInfo(final VaMessenger<FessMessages> validationMessagesLambda) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/authentication/v1/generated.proto

      // The token will only be valid for as long as the bound object exists.
      // NOTE: The API server's TokenReview endpoint will validate the
      // BoundObjectRef, but other audiences may not. Keep ExpirationSeconds
      // small if you want prompt revocation.
      // +optional
      optional BoundObjectReference boundObjectRef = 3;
    }
    
    // TokenRequestStatus is the result of a token request.
    message TokenRequestStatus {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  5. cmd/untar.go

    			name = trimLeadingSlash(path.Clean(name))
    		default:
    			// ignore symlink'ed
    			continue
    		}
    		if o.prefixAll != "" {
    			name = pathJoin(o.prefixAll, name)
    		}
    
    		// Do small files async
    		n++
    		if header.Size <= smallFileThreshold {
    			asyncWriters <- struct{}{}
    			b := poolBuf128k.Get().([]byte)
    			if cap(b) < int(header.Size) {
    				b = make([]byte, smallFileThreshold)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

            return redirect(getClass());
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/security/get-current-user.md

    이제 *경로 작동 함수*에서 현재 사용자를 직접 가져올 수 있으며 `Depends`를 사용하여 **의존성 주입** 수준에서 보안 메커니즘을 처리할 수 있습니다.
    
    그리고 보안 요구 사항에 대한 모든 모델 또는 데이터를 사용할 수 있습니다(이 경우 Pydantic 모델 `User`).
    
    그러나 일부 특정 데이터 모델, 클래스 또는 타입을 사용하도록 제한되지 않습니다.
    
    모델에 `id`와 `email`이 있고 `username`이 없길 원하십니까? 맞습니다. 이들은 동일한 도구를 사용할 수 있습니다.
    
    `str`만 갖고 싶습니까? 아니면 그냥 `dict`를 갖고 싶습니까? 아니면 데이터베이스 클래스 모델 인스턴스를 직접 갖고 싶습니까? 그들은 모두 같은 방식으로 작동합니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/metadata.md

    | `license_info` | `dict` | 🛂 ℹ 🎦 🛠️. ⚫️ 💪 🔌 📚 🏑. <details><summary><code>license_info</code> 🏑</summary><table><thead><tr><...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.BufferedSink
    
    /**
     * An IDNA mapping table optimized for small code and data size.
     *
     * Code Points in Sections
     * =======================
     *
     * The full range of code points is 0..0x10fffe. We can represent any of these code points with 21
     * bits.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsUserCB.java

                doColumn("internationaliSDNNumber");
            }
    
            public void columnLabeledURI() {
                doColumn("labeledURI");
            }
    
            public void columnMail() {
                doColumn("mail");
            }
    
            public void columnMobile() {
                doColumn("mobile");
            }
    
            public void columnName() {
                doColumn("name");
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top