Class: Couchbase::JWTAuthenticator
- Inherits:
-
Object
- Object
- Couchbase::JWTAuthenticator
- Defined in:
- lib/couchbase/authenticator.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/authenticator.rb
Overview
Authenticator using a JSON Web Token (JWT)
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(token) ⇒ JWTAuthenticator
constructor
Creates a new authenticator with a JSON Web Token (JWT).
Constructor Details
#initialize(token) ⇒ JWTAuthenticator
Creates a new authenticator with a JSON Web Token (JWT)
76 77 78 |
# File 'lib/couchbase/authenticator.rb', line 76 def initialize(token) @token = token end |
Instance Attribute Details
#token ⇒ Object
71 72 73 |
# File 'lib/couchbase/authenticator.rb', line 71 def token @token end |