Interface AuthorizationTokenSupplier


public interface AuthorizationTokenSupplier
Supplies tokens that will be sent to the Temporal server to perform authorization. Implementations have to be thread-safe.

The default JWT ClaimMapper expects authorization tokens to be in the following format:

Bearer <token>

<token> Must be the Base64 url-encoded value of the token.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • supply

      String supply()
      Returns:
      token to be passed in authorization header