Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 517 for validar (0.19 sec)

  1. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py310
    def test_incorrect_token_type(client: TestClient):
        response = client.get(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/validation/CronExpression.java

    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    public @interface CronExpression {
    
        String message() default "{org.lastaflute.validator.constraints.CronExpression.message}";
    
        Class<?>[] groups() default {};
    
        Class<? extends Payload>[] payload() default {};
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-fields.md

    Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.
    As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ///
    
    ## Recap
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
            validate(invokerRequest);
    
            ArrayList<String> cmdAndArguments = new ArrayList<>();
            cmdAndArguments.add(invokerRequest
                    .installationDirectory()
                    .resolve("bin")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    		fmt.Fprintln(os.Stderr, "reading input:", err)
    	}
    	fmt.Printf("%d\n", count)
    	// Output: 15
    }
    
    // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
    // 32-bit decimal input.
    func ExampleScanner_custom() {
    	// An artificial input source.
    	const input = "1234 5678 1234567901234567890"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                RenderDataUtil.register(data, "notification", fessConfig.getNotificationLogin());
                saveToken();
            });
        }
    
        @Execute
        public HtmlResponse login(final LoginForm form) {
            validate(form, messages -> {}, () -> asIndexPage(form));
            verifyToken(() -> asIndexPage(form));
            final String username = form.username;
            final String password = form.password;
            form.clearSecurityInfo();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                    });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse threaddump(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/brazil.js

    /** File generated by Grunt -- do not modify
     *  JQUERY-FORM-VALIDATOR
     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

                registerProtocolSchemeItems(data);
                registerFileConfigItems(data);
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            fileAuthenticationService.getFileAuthentication(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            }).renderWith(data -> {
                registerWebConfigItems(data);
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            requestHeaderService.getRequestHeader(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top