Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,595 for uker (0.13 sec)

  1. docs_src/response_model/tutorial003_01_py310.py

    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 317 bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial002_py310.py

    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 318 bytes
    - Viewed (0)
  3. finisher_api.go

    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "non_existing", Email: "******@****.***"}
    //
    //	// assign email regardless of if record is found
    //	db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "jinzhu", Age: 20, Email: "******@****.***"}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. docs_src/response_model/tutorial003_py310.py

        full_name: str | None = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user: UserIn) -> Any:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 431 bytes
    - Viewed (0)
  5. docs_src/response_model/tutorial003.py

        full_name: Union[str, None] = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user: UserIn) -> Any:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 450 bytes
    - Viewed (0)
  6. internal/config/identity/openid/provider/provider.go

    	ClaimsSupported                  []string `json:"claims_supported,omitempty"`
    	CodeChallengeMethodsSupported    []string `json:"code_challenge_methods_supported,omitempty"`
    }
    
    // User represents information about user.
    type User struct {
    	Name    string `json:"username"`
    	ID      string `json:"id"`
    	Enabled bool   `json:"enabled"`
    }
    
    // Standard errors.
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. cmd/iam-object-store.go

    		iamOS.deleteIAMConfig(ctx, getUserIdentityPath(user, userType))
    		iamOS.deleteIAMConfig(ctx, getMappedPolicyPath(user, userType, false))
    		return u, errNoSuchUser
    	}
    
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			if u.Credentials.IsTemp() {
    				// We should delete such that the client can re-request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        }
    
        public void updateMemberOf(final AzureAdUser user) {
            final List<String> groupList = new ArrayList<>();
            final List<String> roleList = new ArrayList<>();
            groupList.addAll(getDefaultGroupList());
            roleList.addAll(getDefaultRoleList());
            processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

                        "security": [{"OAuth2PasswordBearer": []}],
                    }
                },
            },
            "components": {
                "schemas": {
                    "User": {
                        "title": "User",
                        "required": IsOneOf(
                            ["username", "email", "full_name", "disabled"],
                            # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_en.properties

    labels.bad_word_list_suggest_word=Bad Word
    labels.bad_word_suggest_word=Bad Word
    labels.bad_word_file=Bad Word File
    labels.user_configuration=User
    labels.user_list_name=Name
    labels.user_password=Password
    labels.user_confirm_password=Confirm
    labels.user_title_details=User
    labels.role_configuration=Role
    labels.role_list_name=Name
    labels.role_name=Name
    labels.role_title_details=Role
    labels.group_configuration=Group
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top