Class FlowableExpressionAuthTokenUtils


  • public class FlowableExpressionAuthTokenUtils
    extends Object
    Expression Bean Name: flwAuthTokenUtils

    Provides utilities to deal with access tokens for external services.

    Author:
    Arthur Hupka-Merle
    • Constructor Detail

    • Method Detail

      • getAccessToken

        public String getAccessToken​(String externalServiceId)
        Obtain an access token for the given external service id.
        Parameters:
        externalServiceId - the service id to get the access token for
        Returns:
        the access token or null in case no token provider is registered for the given service id or when the token could not be obtained due to authentication errors.