Interface JdkAuthFactory.TokenProvider

All Known Implementing Classes:
JdkAuthFactory.OAuth2TokenProvider
Enclosing class:
JdkAuthFactory

public static interface JdkAuthFactory.TokenProvider
Interface for providing authentication tokens.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a valid access token, refreshing if necessary.
  • Method Details

    • getToken

      String getToken() throws IOException
      Gets a valid access token, refreshing if necessary.
      Returns:
      the access token
      Throws:
      IOException - if token retrieval fails