Class: Couchbase::CertificateAuthenticator
- Inherits:
-
Object
- Object
- Couchbase::CertificateAuthenticator
- Defined in:
- lib/couchbase/authenticator.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/authenticator.rb more...
Overview
Authenticator for TLS client certificate
Instance Attribute Summary collapse
-
#certificate_path ⇒ Object
Returns the value of attribute certificate_path.
-
#key_path ⇒ Object
Returns the value of attribute key_path.
Instance Method Summary collapse
-
#initialize(certificate_path, key_path) ⇒ CertificateAuthenticator
constructor
Creates a new authenticator with certificate and key paths.
Constructor Details
#initialize(certificate_path, key_path) ⇒ CertificateAuthenticator
Creates a new authenticator with certificate and key paths
60 61 62 63 |
# File 'lib/couchbase/authenticator.rb', line 60 def initialize(certificate_path, key_path) @certificate_path = certificate_path @key_path = key_path end |
Instance Attribute Details
#certificate_path ⇒ Object
Returns the value of attribute certificate_path.
53 54 55 |
# File 'lib/couchbase/authenticator.rb', line 53 def certificate_path @certificate_path end |
#key_path ⇒ Object
Returns the value of attribute key_path.
54 55 56 |
# File 'lib/couchbase/authenticator.rb', line 54 def key_path @key_path end |