Class StaticTokenProvider

java.lang.Object
com.datastax.astra.client.auth.StaticTokenProvider
All Implemented Interfaces:
TokenProvider, Supplier<String>

public class StaticTokenProvider extends Object implements TokenProvider
Static token, never expires..
Author:
Cedrick LUNVEN (@clunven)
  • Constructor Details

    • StaticTokenProvider

      public StaticTokenProvider(String token)
      Constructor with all parameters.
      Parameters:
      token - static token to be used
  • Method Details