Class FlowableExpressionAuthTokenUtils

java.lang.Object
com.flowable.platform.expressions.FlowableExpressionAuthTokenUtils

public class FlowableExpressionAuthTokenUtils extends Object
Expression Bean Name: flwAuthTokenUtils

Provides utilities to deal with access tokens for external services.

Author:
Arthur Hupka-Merle
  • Field Details

  • Constructor Details

  • Method Details

    • 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.