Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,312 for User (0.02 seconds)

  1. tests/test_security_api_key_cookie_optional.py

    api_key = APIKeyCookie(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        if current_user is None:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

        ) {
        init {
            params {
                text(
                    "gitUserEmail",
                    "",
                    label = "Git user.email Configuration",
                    description = "Enter the git 'user.email' configuration to commit change under",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true,
                )
                text(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java

    import org.gradle.api.file.DirectoryProperty;
    
    /**
     * Configuration for user manual documentation
     */
    public abstract class UserManual {
        /**
         * The root of the user manual documentation.  This is the source of the adoc files.
         */
        public abstract DirectoryProperty getRoot();
    
        /**
         * Source of snippets that can be inserted into the user manual
         */
        public abstract DirectoryProperty getSnippets();
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.7K bytes
    - Click Count (0)
  4. helm-releases/minio-3.6.2.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Mar 17 18:30:55 GMT 2022
    - 17.9K bytes
    - Click Count (0)
  5. cmd/sftp-server_test.go

    	accessKey, secretKey := mustGenerateCredentials(c)
    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	userReq := madmin.PolicyAssociationReq{
    		Policies: []string{"readwrite"},
    		User:     accessKey,
    	}
    	if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil {
    		c.Fatalf("Unable to attach policy: %v", err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         */
        boolean isDebugEnabled();
    
        /**
         * Sends a message to the user in the <b>debug</b> error level.
         *
         * @param content the message to log
         */
        void debug(CharSequence content);
    
        /**
         * Sends a message (and accompanying exception) to the user in the <b>debug</b> error level.
         * The error's stacktrace will be output when this error level is enabled.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 28 09:03:24 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  7. docs/distributed/decom-encrypted.sh

    ./mc ready myminio
    
    ./mc admin user add myminio/ minio123 minio123
    ./mc admin user add myminio/ minio12345 minio12345
    
    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    ./mc admin policy create myminio/ lake ./docs/distributed/rw.json
    
    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/site/apt/configuration-management.apt

     not sure the unified source directory structure addresses this issue.
    
     Properties
    
     maven.user.config.dir (system,default=${user.home}/.m2)
     maven.home            (system,user,default=${user.home}/m2)
     maven.repo.local      (system,user,default=${maven.user.config.dir}/repository)
    
     We need to define what happens in the when things are not setup correctly
    
     o ~/.m2 directory does not exist
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  9. cmd/iam-store.go

    			cache.iamUserPolicyMap.Delete(user)
    
    			// we are only logging errors, not handling them.
    			err := store.deleteUserIdentity(ctx, user, userType)
    			iamLogIf(GlobalContext, err)
    			if userType == stsUser {
    				delete(cache.iamSTSAccountsMap, user)
    			}
    			delete(cache.iamUsersMap, user)
    			if store.group != nil {
    				store.group.Forget(user)
    			}
    
    			deleted = true
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  10. helm-releases/minio-3.2.0.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 13 02:16:24 GMT 2021
    - 14.6K bytes
    - Click Count (0)
Back to Top