The most basic token provider, which simply returns the token it was instantiated with.
Generally, anywhere this can be used in the public astra-db-ts interfaces, you may also pass in a plain
string or null/undefined, which is transformed into a StaticTokenProvider under the hood.
The most basic token provider, which simply returns the token it was instantiated with.
Generally, anywhere this can be used in the public
astra-db-ts
interfaces, you may also pass in a plain string or null/undefined, which is transformed into a StaticTokenProvider under the hood.Example
See
TokenProvider