Class FlowableExpressionAuthTokenUtils
java.lang.Object
com.flowable.platform.expressions.FlowableExpressionAuthTokenUtils
Expression Bean Name: flwAuthTokenUtils
Provides utilities to deal with access tokens for external services.
- Author:
- Arthur Hupka-Merle
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFlowableExpressionAuthTokenUtils
(Collection<AuthTokenProvider> authTokenProviders) -
Method Summary
Modifier and TypeMethodDescriptiongetAccessToken
(String externalServiceId) Obtain an access token for the given external service id.
-
Field Details
-
authTokenProviders
-
-
Constructor Details
-
FlowableExpressionAuthTokenUtils
-
-
Method Details
-
getAccessToken
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.
-