Class: Couchbase::CertificateAuthenticator

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/authenticator.rb

Overview

Authenticator for TLS client certificate

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_path, key_path) ⇒ CertificateAuthenticator

Returns a new instance of CertificateAuthenticator.



34
35
36
37
# File 'lib/couchbase/authenticator.rb', line 34

def initialize(certificate_path, key_path)
  @certificate_path = certificate_path
  @key_path = key_path
end

Instance Attribute Details

#certificate_pathObject

Returns the value of attribute certificate_path.



31
32
33
# File 'lib/couchbase/authenticator.rb', line 31

def certificate_path
  @certificate_path
end

#key_pathObject

Returns the value of attribute key_path.



32
33
34
# File 'lib/couchbase/authenticator.rb', line 32

def key_path
  @key_path
end