Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 968 for Subject (0.17 sec)

  1. internal/event/target/nats.go

    		if target.args.Streaming.Async {
    			_, err = target.stanConn.PublishAsync(target.args.Subject, data, nil)
    		} else {
    			err = target.stanConn.Publish(target.args.Subject, data)
    		}
    	} else {
    		if target.jstream != nil {
    			_, err = target.jstream.Publish(target.args.Subject, data)
    		} else {
    			err = target.natsConn.Publish(target.args.Subject, data)
    		}
    	}
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    // SetExpiry sets expiry in unix epoch secs
    func (c *StandardClaims) SetExpiry(t time.Time) {
    	c.ExpiresAt = t.Unix()
    }
    
    // SetAccessKey sets access key as jwt subject and custom
    // "accessKey" field.
    func (c *StandardClaims) SetAccessKey(accessKey string) {
    	c.Subject = accessKey
    	c.AccessKey = accessKey
    }
    
    // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. update-credits.sh

          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. internal/config/dns/operator_dns.go

    func (c *OperatorDNS) addAuthHeader(r *http.Request) error {
    	if c.username == "" || c.password == "" {
    		return nil
    	}
    
    	claims := &jwt.StandardClaims{
    		ExpiresAt: int64(15 * time.Minute),
    		Issuer:    c.username,
    		Subject:   config.EnvDNSWebhook,
    	}
    
    	token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	ss, err := token.SignedString([]byte(c.password))
    	if err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    	JwksURI                          string   `json:"jwks_uri,omitempty"`
    	ResponseTypesSupported           []string `json:"response_types_supported,omitempty"`
    	SubjectTypesSupported            []string `json:"subject_types_supported,omitempty"`
    	IDTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported,omitempty"`
    	ScopesSupported                  []string `json:"scopes_supported,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  6. cmd/iam.go

    // itself cannot login, but the policy associated with them determines the base
    // policy for the STS credential. The policy mapping can be updated by the
    // administrator.
    //
    // - from `Subject.CommonName` field from the STS request for
    // AssumeRoleWithCertificate. In this case, the policy for the STS credential
    // has the same name as the value of this field.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/testdata/undeleteable-object.tgz

    _string","value":""},{"key":"table","value":""},{"key":"queue_dir","value":""},{"key":"queue_limit","value":"0"},{"key":"max_open_connections","value":"2"}]},"notify_nats":{"_":[{"key":"enable","value":"off"},{"key":"address","value":""},{"key":"subject","value":""},{"key":"username","value":""},{"key":"password","value":""},{"key":"token","value":""},{"key":"tls","value":"off"},{"key":"tls_skip_verify","value":"off"},{"key":"cert_authority","value":""},{"key":"client_cert","value":""},{"key":"c...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    }
    
    // DeleteObjectTags - delete object tags from an existing object
    func (er erasureObjects) DeleteObjectTags(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	return er.PutObjectTags(ctx, bucket, object, "", opts)
    }
    
    // GetObjectTags - get object tags from an existing object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  9. cmd/object-handlers.go

    		// do an additional verification whether object exists when object is deletemarker and request
    		// is from replication
    		if opts.CheckDMReplicationReady {
    			topts := opts
    			topts.VersionID = ""
    			goi, gerr := getObjectInfo(ctx, bucket, object, topts)
    			if gerr == nil || goi.VersionID != "" { // object layer returned more info because object is deleted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    		t.Fatal(err)
    	}
    
    	bucket := "bucket"
    	object := "object"
    	opts := ObjectOptions{}
    	// Create object "obj" under bucket "bucket".
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Upload a good object
    	_, err = obj.DeleteObject(ctx, bucket, object, ObjectOptions{})
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
Back to top