Interface OAuthTokenProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OAuthTokenProvider
Supplies OAuth bearer tokens to the plugin on demand. Implementations must be thread-safe; the plugin may invoke fetchToken() concurrently.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a fresh OAuth bearer token.
  • Method Details

    • fetchToken

      OAuthToken fetchToken()
      Returns a fresh OAuth bearer token.