Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,130 for myuser (0.05 seconds)

  1. impl/maven-cli/src/test/resources/mavenHome/conf/maven-user.properties

    # If the first character of an item is a question mark, the load will silently fail if the file does not exist.
    ${includes} = ?"${maven.user.conf}/maven-user.properties", \
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. apache-maven/src/assembly/maven/conf/maven-user.properties

    # If the first character of an item is a question mark, the load will silently fail if the file does not exist.
    ${includes} = ?"${maven.user.conf}/maven-user.properties", \
                  ?"${maven.project.conf}/maven-user.properties"
    
    #
    # Maven Cache Configuration
    #
    # Controls caching behavior for different request types during Maven builds.
    # Format: RequestType { scope:SCOPE ref:REFERENCE_TYPE }
    #
    # SCOPE OPTIONS:
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/get-current-user.md

    # Get Current User { #get-current-user }
    
    In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/security/get-current-user.md

    ## Den Benutzer abrufen { #get-the-user }
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Den aktuellen Benutzer einfügen { #inject-the-current-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/security/get-current-user.md

    ## Kullanıcıyı alın { #get-the-user }
    
    `get_current_user`, oluşturduğumuz (sahte) bir yardımcı (utility) fonksiyonu kullanacak; bu fonksiyon `str` olarak bir token alır ve Pydantic `User` modelimizi döndürür:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Mevcut kullanıcıyı enjekte edin { #inject-the-current-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Obter o usuário { #get-the-user }
    
    `get_current_user` usará uma função utilitária (falsa) que criamos, que recebe um token como uma `str` e retorna nosso modelo Pydantic `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Injetar o usuário atual { #inject-the-current-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. cmd/user-provider-utils.go

    // getUserWithProvider - returns the appropriate internal username based on the user provider.
    // if validate is true, an error is returned if the user does not exist.
    func getUserWithProvider(ctx context.Context, userProvider, user string, validate bool) (string, error) {
    	switch userProvider {
    	case madmin.BuiltinProvider:
    		if validate {
    			if _, ok := globalIAMSys.GetUser(ctx, user); !ok {
    				return "", errNoSuchUser
    			}
    		}
    		return user, nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/security/get-current-user.md

    ## 获取用户 { #get-the-user }
    
    `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## 注入当前用户 { #inject-the-current-user }
    
    在*路径操作* 的 `Depends` 中使用 `get_current_user`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    注意,此处把 `current_user` 的类型声明为 Pydantic 的 `User` 模型。
    
    这有助于在函数内部使用代码补全和类型检查。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## 현재 사용자 주입하기 { #inject-the-current-user }
    
    이제 *경로 처리*에서 `get_current_user`와 함께 같은 `Depends`를 사용할 수 있습니다:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    `current_user`의 타입을 Pydantic 모델 `User`로 선언한다는 점에 주목하세요.
    
    이는 함수 내부에서 자동 완성과 타입 체크에 도움을 줍니다.
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. tests/embedded_struct_test.go

    		t.Errorf("Failed to create got error %v", err)
    	}
    }
    
    func TestEmbeddedRelations(t *testing.T) {
    	type EmbUser struct {
    		gorm.Model
    		Name      string
    		Age       uint
    		Languages []Language `gorm:"many2many:EmbUserSpeak;"`
    	}
    
    	type AdvancedUser struct {
    		EmbUser  `gorm:"embedded"`
    		Advanced bool
    	}
    
    	DB.Migrator().DropTable(&AdvancedUser{})
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 7.3K bytes
    - Click Count (0)
Back to Top