Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,407 for Validate2 (0.16 sec)

  1. internal/jwt/parser.go

    			jwtgo.ValidationErrorClaimsInvalid)
    	}
    
    	// Signature is valid, lets validate the claims for
    	// other fields such as expiry etc.
    	return claims.Valid()
    }
    
    // ParseUnverifiedStandardClaims - WARNING: Don't use this method unless you know what you're doing
    //
    // This method parses the token but doesn't validate the signature. It's only
    // ever useful in cases where you know the signature is valid (because it has
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    	claims := xjwt.NewMapClaims()
    	return claims.Map(), ErrNone
    }
    
    // Check request auth type verifies the incoming http request
    //   - validates the request signature
    //   - validates the policy action if anonymous tests bucket policies if any,
    //     for authenticated requests validates IAM policies.
    //
    // returns APIErrorCode if any to be replied to the client.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/path-operation-advanced-configuration.md

        ```
    
    !!! info
        In Pydantic version 1 the method to parse and validate an object was `Item.parse_obj()`, in Pydantic version 2, the method is called `Item.model_validate()`.
    
    !!! tip
        Here we reuse the same Pydantic model.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. pkg/config/schema/resource/schema.go

    	StatusKind() string
    	StatusPackage() string
    
    	// MustNewInstance calls NewInstance and panics if an error occurs.
    	MustNewInstance() config.Spec
    
    	// Validate this schema.
    	Validate() error
    
    	// ValidateConfig validates that the given config message is of the correct type for this schema
    	// and that the contents are valid.
    	ValidateConfig(cfg config.Config) (validation.Warning, error)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/config.go

    	// this point as necessary configuration is available.
    	if !isEnableFlagExplicitlySet && !l.LDAP.Enabled {
    		l.LDAP.Enabled = true
    	}
    	// Validate and test configuration.
    	valResult := l.LDAP.Validate()
    	if !valResult.IsOk() {
    		// Set to false if configuration fails to validate.
    		l.LDAP.Enabled = false
    		return l, valResult
    	}
    
    	return l, nil
    }
    
    // GetConfigList - returns a list of LDAP configurations.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/validation/validation.go

    	"k8s.io/kubernetes/pkg/apis/flowcontrol"
    	"k8s.io/kubernetes/pkg/apis/flowcontrol/internalbootstrap"
    )
    
    // ValidateFlowSchemaName validates name for flow-schema.
    var ValidateFlowSchemaName = apimachineryvalidation.NameIsDNSSubdomain
    
    // ValidatePriorityLevelConfigurationName validates name for priority-level-configuration.
    var ValidatePriorityLevelConfigurationName = apimachineryvalidation.NameIsDNSSubdomain
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/obj.go

    	bEncoding = encoding{encode: encodeB, validate: validateB, length: 4}
    	uEncoding = encoding{encode: encodeU, validate: validateU, length: 4}
    	jEncoding = encoding{encode: encodeJ, validate: validateJ, length: 4}
    
    	// rawEncoding encodes a raw instruction byte sequence.
    	rawEncoding = encoding{encode: encodeRawIns, validate: validateRaw, length: 4}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. src/internal/trace/testtrace/validation.go

    		ranges: make(map[trace.ResourceID][]string),
    		tasks:  make(map[trace.TaskID]string),
    	}
    }
    
    // Event validates ev as the next event in a stream of trace.Events.
    //
    // Returns an error if validation fails.
    func (v *Validator) Event(ev trace.Event) error {
    	e := new(errAccumulator)
    
    	// Validate timestamp order.
    	if v.lastTs != 0 {
    		if ev.Time() <= v.lastTs {
    			e.Errorf("timestamp out-of-order for %+v", ev)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/options.go

    	}
    
    	return nil
    }
    
    // Validate validates all the required options.
    func (o *Options) Validate() []error {
    	var errs []error
    
    	if err := validation.ValidateKubeSchedulerConfiguration(o.ComponentConfig); err != nil {
    		errs = append(errs, err.Errors()...)
    	}
    	errs = append(errs, o.SecureServing.Validate()...)
    	errs = append(errs, o.Authentication.Validate()...)
    	errs = append(errs, o.Authorization.Validate()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. pkg/serviceaccount/jwt.go

    // validation to a token and extract user information.
    type Validator interface {
    	// Validate validates a token and returns user information or an error.
    	// Validator can assume that the issuer and signature of a token are already
    	// verified when this function is called.
    	Validate(ctx context.Context, tokenData string, public *jwt.Claims, private interface{}) (*apiserverserviceaccount.ServiceAccountInfo, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top