Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,828 for user2 (0.03 seconds)

  1. tests/test_security_http_basic_realm_description.py

    security = HTTPBasic(realm="simple", description="HTTPBasic scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPBasicCredentials = Security(security)):
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. tests/gorm_test.go

    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    		}
    		u1 := user{}
    
    		if results := DB.Create(&u1); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  3. docs/sts/README.md

    ### Using MinIO Console
    
    - Open MinIO URL on the browser, lets say <http://localhost:9000/>
    - Click on `Login with SSO`
    - User will be redirected to the Keycloak user login page, upon successful login the user will be redirected to MinIO page and logged in automatically,
      the user should see now the buckets and objects they have access to.
    
    ## Explore Further
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. tests/test_param_in_path_and_dependency.py

                "paths": {
                    "/users/{user_id}": {
                        "get": {
                            "summary": "Read Users",
                            "operationId": "read_users_users__user_id__get",
                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "User Id", "type": "integer"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. cmd/admin-handlers-idp-ldap.go

    		// In case of LDAP/OIDC we need to set `opts.claims` to ensure
    		// it is associated with the LDAP/OIDC user properly.
    		for k, v := range cred.Claims {
    			if k == expClaim {
    				continue
    			}
    			opts.claims[k] = v
    		}
    	} else {
    		// We still need to ensure that the target user is a valid LDAP user.
    		//
    		// The target user may be supplied as a (short) username or a DN.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:46:04 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  7. docs/ru/docs/virtual-environments.md

    ```plaintext
    /home/user/code/awesome-project/.venv/bin/python
    ```
    
    и использует именно её.
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts;C:\Windows\System32
    ```
    
    Это означает, что теперь система в первую очередь будет искать программы в:
    
    ```plaintext
    C:\Users\user\code\awesome-project\.venv\Scripts
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 33.5K bytes
    - Click Count (0)
  8. tests/test_security_http_bearer_optional.py

    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Bearer", "credentials": "foobar"}
    
    
    def test_security_http_bearer_no_credentials():
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. helm-releases/minio-5.4.0.tgz

    ts[].actions[]` - list of actions granted ### Create user after install Install the chart, specifying the users you want to create after install: ```bash helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio ``` Description of the configuration parameters used above - - `users[].accessKey` - accessKey of user - `users[].secretKey`...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 03 05:34:47 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. helm-releases/minio-4.0.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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 09 04:25:47 GMT 2022
    - 18K bytes
    - Click Count (0)
Back to Top