Constructs an instead of the TokenProvider.
The username for the DSE instance
The password for the DSE instance
Private
Readonly
#tokenPrivate
_encodeStatic
parseInternal
Turns a string token into a StaticTokenProvider if necessary. Throws an error if
it's not a string, nullish, or a TokenProvider
already.
Not intended for external use.
A token provider which translates a username-password pair into the appropriate authentication token for DSE, HCD.
Uses the format
Cassandra:b64(username):password(username)
Example
See
TokenProvider