- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 633 for Validate2 (0.2 sec)
-
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) -
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) -
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) -
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) -
pkg/volume/util/subpath/subpath_linux_test.go
// base. prepare func(base string) error // Function that validates directory structure after the test validate func(base string) error baseDir string endDir string expectError bool }{ { name: "all-empty", prepare: func(base string) error { return os.MkdirAll(filepath.Join(base, "a/b/c"), defaultPerm) }, validate: func(base string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
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) -
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) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Pmd.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 19 14:14:11 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java
return networkTimeout; } /** * Indicates if this task will validate the distribution url that has been configured. * * @return whether this task will validate the distribution url * @since 8.2 */ @Incubating @Input @Option(option = "validate-url", description = "Sets task to validate the configured distribution url.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 03:11:06 UTC 2024 - 18.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
signature_keys: Collection[str], ) -> None: """Validates the representative dataset, based on the signature keys. Representative dataset can be provided in two different forms: a single instance of `RepresentativeDataset` or a map of signature key to the corresponding `RepresentativeDataset`. These have a relationship with `signature_keys`. This function validates the following conditions:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0)