Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,269 for invalid (0.15 sec)

  1. docs_src/security/tutorial003.py

    async def get_current_user(token: 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: User = Depends(get_current_user)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses_test.go

    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    			endpointSet{},
    			false,
    		},
    		// No range specified.
    		{
    			"{...}",
    			endpointSet{},
    			false,
    		},
    		// Invalid range.
    		{
    			"http://minio{2...3}/export/set{1...0}",
    			endpointSet{},
    			false,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. cmd/object-lambda-handlers.go

    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    	}
    
    	if subtle.ConstantTimeCompare([]byte(resp.Header.Get(xhttp.AmzRequestToken)), []byte(eventData.GetObjectContext.OutputToken)) != 1 {
    		tokenErr := errorCodes.ToAPIErr(ErrInvalidToken)
    		tokenErr.Description = "The request token included in the request is invalid"
    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. internal/crypto/metadata_test.go

    		Metadata: map[string]string{
    			MetaIV: base64.StdEncoding.EncodeToString(make([]byte, 32)), MetaAlgorithm: SealAlgorithm, MetaSealedKeyS3: "",
    			MetaKeyID: "", MetaDataEncryptionKey: "",
    		},
    		DataKey: []byte{}, KeyID: "", SealedKey: SealedKey{},
    	}, // 7
    	{
    		ExpectedErr: Errorf("The internal sealed KMS data key for SSE-S3 is invalid"),
    		Metadata: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DosError.java

            "The client does not have the necessary access rights to perform the requested function.", "Access is denied.",
            "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
            "Not enough storage is available to process this command.", "The media is write protected.", "The device is not ready.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DosError.java

            "reserved",
            "The client does not have the necessary access rights to perform the requested function.",
            "Access is denied.",
            "The TID specified was invalid.",
            "The handle is invalid.",
            "The network name cannot be found.",
            "Not enough storage is available to process this command.",
            "The media is write protected.",
            "The device is not ready.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

         * @param artifacts the collection of artifacts to deploy
         * @throws ArtifactDeployerException if the deployment failed
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        default void deploy(
                @Nonnull Session session,
                @Nonnull RemoteRepository repository,
                @Nonnull Collection<ProducedArtifact> artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacLogonInfo.java

                if ( groupPointer != 0 ) {
                    int realGroupCount = pacStream.readInt();
                    if ( realGroupCount != groupCount ) {
                        throw new PACDecodingException("Invalid number of groups in PAC expect" + groupCount + " have " + realGroupCount);
                    }
                    groups = new PacGroup[groupCount];
                    for ( int i = 0; i < groupCount; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  9. cmd/bucket-replication-utils_test.go

    		if len(dsc.targetsMap) != len(test.expDsc.targetsMap) {
    			t.Errorf("Test%d (%s): Invalid number of entries in targetsMap  got %d , want %d", i+1, test.name, len(dsc.targetsMap), len(test.expDsc.targetsMap))
    		}
    		for arn, tdsc := range dsc.targetsMap {
    			expDsc, ok := test.expDsc.targetsMap[arn]
    			if !ok || expDsc != tdsc {
    				t.Errorf("Test%d (%s): Invalid  target replicate decision: got %+v, want %+v", i+1, test.name, tdsc, expDsc)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. docs_src/path_operation_advanced_configuration/tutorial007_pv1.py

        },
    )
    async def create_item(request: Request):
        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.parse_obj(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 789 bytes
    - Viewed (0)
Back to top