Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,587 for User (0.03 sec)

  1. tests/test_tutorial/test_header_params/test_tutorial001_an.py

    
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            }
    
            @Override
            public String getAccountName() {
                return "Test User";
            }
    
            @Override
            public String getDomainName() {
                return "WORKGROUP";
            }
    
            @Override
            public String getTypeText() {
                return "User";
            }
    
            @Override
            public int getType() {
                return 1;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. 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.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. tests/test_security_api_key_query_description.py

    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", description="API Key Query")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. internal/config/identity/openid/provider/keycloak.go

    		return User{}, ErrAccessTokenExpired
    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusPartialContent:
    		var u User
    		if err = json.NewDecoder(resp.Body).Decode(&u); err != nil {
    			return User{}, err
    		}
    		return u, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs/iam/identity-manager-plugin.go

    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pom.xml

    								<type>perm</type>
    								<user>${packaging.fess.user}</user>
    								<group>${packaging.fess.group}</group>
    							</mapper>
    						</data>
    						<!-- Add dictionary directory -->
    						<data>
    							<type>template</type>
    							<paths>
    								<path>${packaging.fess.dictionary.dir}</path>
    							</paths>
    							<mapper>
    								<type>perm</type>
    								<user>opensearch</user>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. docs/distributed/iam-import-with-missing-entities.sh

    # Verify the list of users and service accounts from the import
    ./mc admin user list myminio
    USER_COUNT=$(./mc admin user list myminio | wc -l)
    if [ "${USER_COUNT}" -ne 2 ]; then
    	echo "BUG: Expected no of users: 2 Found: ${USER_COUNT}"
    	exit 1
    fi
    ./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. .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(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. docs_src/generate_clients/tutorial002_py39.py

            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 730 bytes
    - Viewed (0)
Back to top