Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 814 for users6 (0.21 sec)

  1. docs/en/docs/tutorial/security/simple-oauth2.md

    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    You will get an "Inactive user" error, like:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tests/soft_delete_test.go

    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/provider.go

    )
    
    // Provider implements identity provider specific admin operations, such as
    // looking up users, fetching additional attributes etc.
    type Provider interface {
    	LoginWithUser(username, password string) error
    	LoginWithClientID(clientID, clientSecret string) error
    	LookupUser(userid string) (User, error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. tests/upsert_test.go

    	if user6.Name != "find or init" || user6.ID == 0 || user6.Age != 44 {
    		t.Errorf("user should be found and updated with assigned attrs")
    	}
    }
    
    func TestFindOrCreate(t *testing.T) {
    	var user1, user2, user3, user4, user5, user6, user7, user8 User
    	if err := DB.Where(&User{Name: "find or create", Age: 33}).FirstOrCreate(&user1).Error; err != nil {
    		t.Errorf("no error should happen when FirstOrInit, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  5. docs/sts/keycloak.md

    The following example shows how to get the details of the user with `{userid}` from `{realm}` realm:
    
    ```
    curl \
      -H "Authorization: Bearer eyJhbGciOiJSUz..." \
      "http://localhost:8080/auth/admin/realms/{realm}/users/{userid}"
    ```
    
    ### Configure MinIO
    
    ```
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123
    minio server /mnt/export
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess_user.user.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 173 bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		return nil, err
    	}
    
    	m.Range(func(user string, mappedPolicy MappedPolicy) bool {
    		if userPredicate != nil && !userPredicate(user) {
    			return true
    		}
    		stsMap[user] = mappedPolicy.Policies
    		return true
    	})
    
    	for user := range store.getParentUsers(cache) {
    		if _, ok := stsMap[user]; !ok {
    			if userPredicate != nil && !userPredicate(user) {
    				continue
    			}
    			stsMap[user] = ""
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. src/main/config/openapi/openapi-user.yaml

    openapi: 3.0.3
    info:
      title: Fess - User API
      description: |-
        This is a Fess Server based on the OpenAPI 3.0 specification.  
      license:
        name: Apache 2.0
        url: http://www.apache.org/licenses/LICENSE-2.0.html
      version: 14.8.0
    externalDocs:
      description: API Documentation
      url: https://fess.codelibs.org/14.8/api/
    servers:
      - url: http://localhost:8080/api/v1
    tags:
      - name: search
        description: Search operations
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    	mappedPolicies := make([]MappedPolicy, len(users))
    	g := errgroup.WithNErrs(len(users))
    
    	for index := range users {
    		index := index
    		g.Go(func() error {
    			userName := strings.TrimSuffix(users[index], ".json")
    			userMP, err := iamOS.loadMappedPolicyInternal(ctx, userName, userType, isGroup)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. 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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top