Class: Couchbase::CertificateAuthenticator
- Inherits:
-
Object
- Object
- Couchbase::CertificateAuthenticator
- Defined in:
- lib/couchbase/authenticator.rb
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
61 62 63 64 |
# File 'lib/couchbase/authenticator.rb', line 61 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.
54 55 56 |
# File 'lib/couchbase/authenticator.rb', line 54 def certificate_path @certificate_path end |
#key_path ⇒ Object
Returns the value of attribute key_path.
55 56 57 |
# File 'lib/couchbase/authenticator.rb', line 55 def key_path @key_path end |