Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 550 for invalidAt (0.11 sec)

  1. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            MockletHttpServletRequest req = getMockRequest();
            assertNull(accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            assertThrows(InvalidAccessTokenException.class, () -> accessTokenHelper.getAccessTokenFromRequest(req));
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    func (o *AuthNPlugin) Authenticate(roleArn arn.ARN, token string) (AuthNResponse, error) {
    	if o == nil {
    		return AuthNResponse{}, nil
    	}
    
    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    	u.RawQuery = q.Encode()
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py

            x - x-men
            x - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 422, response.text
        assert response.json() == {"detail": "Invalid YAML"}
    
    
    @needs_pydanticv1
    def test_post_invalid(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. internal/s3select/csv/errors.go

    	}
    }
    
    func errInvalidTextEncodingError() *s3Error {
    	return &s3Error{
    		code:       "InvalidTextEncoding",
    		message:    "UTF-8 encoding is required.",
    		statusCode: 400,
    		cause:      errors.New("invalid utf8 encoding"),
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. internal/bucket/replication/rule.go

    	errPriorityMissing                        = Errorf("Priority must be specified")
    	errInvalidDeleteMarkerReplicationStatus   = Errorf("Delete marker replication status is invalid")
    	errDestinationSourceIdentical             = Errorf("Destination bucket cannot be the same as the source bucket.")
    	errDeleteReplicationMissing               = Errorf("Delete replication must be specified")
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    throw new ThumbnailGenerationException("Invalid thumbnail: " + url);
                }
                final String configId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldConfigId(), String.class);
                if (configId == null || configId.length() < 2) {
                    throw new ThumbnailGenerationException("Invalid configId: " + configId);
                }
                return consumer.test(configId, url);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs_src/security/tutorial003_an_py310.py

    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        if not user:
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Invalid authentication credentials",
                headers={"WWW-Authenticate": "Bearer"},
            )
        return user
    
    
    async def get_current_active_user(
        current_user: Annotated[User, Depends(get_current_user)],
    ):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
                }
                throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token);
            }
            final String name = ComponentUtil.getFessConfig().getApiAccessTokenRequestParameter();
            if (StringUtil.isNotBlank(name)) {
                return request.getParameter(name);
            }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    		parsedType = noneType
    	}
    
    	switch parsedType {
    	case noneType, gzipType, bzip2Type, snappyType, s2Type, zstdType, lz4Type:
    	default:
    		return errInvalidCompressionFormat(fmt.Errorf("invalid compression format '%v'", s))
    	}
    
    	*c = parsedType
    	return nil
    }
    
    // InputSerialization - represents elements inside <InputSerialization/> in request XML.
    type InputSerialization struct {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. docs/debugging/inspect/decrypt-v1.go

    	key, err := hex.DecodeString(keyHex[8:])
    	if err != nil {
    		return err
    	}
    	// Verify that CRC is ok.
    	want := binary.LittleEndian.Uint32(id)
    	got := crc32.ChecksumIEEE(key)
    	if want != got {
    		return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got)
    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top