Uses of Class
com.sap.cloud.sdk.cloudplatform.security.AuthToken
Packages that use AuthToken
- 
Uses of AuthToken in com.sap.cloud.sdk.cloudplatform.security
Methods in com.sap.cloud.sdk.cloudplatform.security that return AuthTokenModifier and TypeMethodDescriptionstatic AuthTokenAuthTokenAccessor.getCurrentToken()Returns the currentAuthToken.Methods in com.sap.cloud.sdk.cloudplatform.security that return types with arguments of type AuthTokenModifier and TypeMethodDescriptionAuthTokenAccessor.getFallbackToken()Global fallbackAuthToken.static io.vavr.control.Try<AuthToken>AuthTokenAccessor.tryGetCurrentToken()io.vavr.control.Try<AuthToken>AuthTokenFacade.tryGetCurrentToken()Returns aTryof the currentAuthToken.io.vavr.control.Try<AuthToken>DefaultAuthTokenFacade.tryGetCurrentToken()io.vavr.control.Try<AuthToken>DwcAuthTokenFacade.tryGetCurrentToken()Methods in com.sap.cloud.sdk.cloudplatform.security with parameters of type AuthTokenModifier and TypeMethodDescriptionstatic voidAuthTokenAccessor.executeWithAuthToken(AuthToken authToken, Executable executable) Execute the givenExecutablewith a given token.static <T> TAuthTokenAccessor.executeWithAuthToken(AuthToken authToken, Callable<T> callable) Execute the givenCallablewith a given token.protected <T> TDefaultAuthTokenFacade.executeWithAuthToken(AuthToken authToken, Callable<T> callable) Method parameters in com.sap.cloud.sdk.cloudplatform.security with type arguments of type AuthTokenModifier and TypeMethodDescriptionstatic voidAuthTokenAccessor.executeWithFallbackAuthToken(Supplier<AuthToken> fallbackAuthToken, Executable executable) Execute the givenExecutable, using the given token as fallback if there is no other token available.static <T> TAuthTokenAccessor.executeWithFallbackAuthToken(Supplier<AuthToken> fallbackAuthToken, Callable<T> callable) Execute the givenCallable, using the given token as fallback if there is no other token available.static voidAuthTokenAccessor.setFallbackToken(Supplier<AuthToken> fallbackToken) Global fallbackAuthToken.Constructors in com.sap.cloud.sdk.cloudplatform.security with parameters of type AuthTokenModifierConstructorDescriptionAuthTokenThreadContextListener(AuthToken authToken) Constructor for providing aAuthTokento be returned by this listener.