Interface AuthTokenProvider


  • public interface AuthTokenProvider
    Use to obtain an Authorization bearer token that is expected to be used.
    {@code
    
       class MyAuthTokenProvider implements AuthTokenProducer {
    • Method Detail

      • obtainToken

        AuthToken obtainToken​(HttpClientRequest tokenRequest)
        Obtain a new Authorization token.
        Parameters:
        tokenRequest - A new request to obtain an Authorisation token