Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,587 for User (0.05 sec)

  1. tests/test_security_oauth2_optional_description.py

            }
        },
        description="OAuth2 security scheme",
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/packaging/common/scripts/preinst

                echo " OK"
            fi
    
            # Create fess user if not existing
            if ! id $FESS_USER > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_USER user..."
                useradd --system \
                        -M \
                        --gid "$FESS_GROUP" \
                        --shell /sbin/nologin \
                        --comment "fess user" \
                        -d "$FESS_USER_HOME"  \
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  3. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        user.addPlanToCancel(this)
        try {
          user.connectStart(route)
    
          connectSocket()
          success = true
          return ConnectResult(plan = this)
        } catch (e: IOException) {
          user.connectFailed(route, null, e)
          return ConnectResult(plan = this, throwable = e)
        } finally {
          user.removePlanToCancel(this)
          if (!success) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. api/go1.7.txt

    pkg os/user, func LookupGroup(string) (*Group, error)
    pkg os/user, func LookupGroupId(string) (*Group, error)
    pkg os/user, method (*User) GroupIds() ([]string, error)
    pkg os/user, method (UnknownGroupError) Error() string
    pkg os/user, method (UnknownGroupIdError) Error() string
    pkg os/user, type Group struct
    pkg os/user, type Group struct, Gid string
    pkg os/user, type Group struct, Name string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  6. 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...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 13 02:16:24 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  7. helm-releases/minio-3.3.3.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...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 11 17:28:02 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

    message CarpCondition {
      // Type is the type of the condition.
      // Currently only Ready.
      // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-conditions
      optional string type = 1;
    
      // Status is the status of the condition.
      // Can be True, False, Unknown.
      // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-conditions
      optional string status = 2;
    
      // Last time we probed the condition.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-minio-idp.sh

    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # Create user with policy consoleAdmin on minio1
    ./mc admin user add minio1 foobarx foobar123
    if [ $? -ne 0 ]; then
    	echo "adding user failed, exiting.."
    	exit_1
    fi
    ./mc admin policy attach minio1 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "adding policy mapping failed, exiting.."
    	exit_1
    fi
    sleep 10
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/os/user/68647.md

    On Windows, [Current] now returns the process owner user when
    the current thread is impersonating another user. Previously,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 21 19:59:22 UTC 2024
    - 146 bytes
    - Viewed (0)
Back to top