Interface AuthTokenProvider


  • public interface AuthTokenProvider
    • Method Detail

      • getAuthToken

        AuthToken getAuthToken​(String externalServiceId)
        Returns the access token for a given external service id.
        Parameters:
        externalServiceId - the service id to get the access token for
        Returns:
        the auth token
      • canProvideAuthToken

        boolean canProvideAuthToken​(String externalServiceId)
        Should return true, when the provider can provide an access token for the given externalServiceId.
        Parameters:
        externalServiceId - the external service id
        Returns:
        true, when the provider can provide an access token for the given service id