Uses of Interface
org.forgerock.util.Supplier
Package
Description
This package provides APIs for OAuth 2.0 services implementations.
This package defines OpenAM specific logic needed to retrieve an
AccessTokenInfo
.Provides common interfaces and classes.
An implementation of the
Promise
API in Java.-
Uses of Supplier in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptiondefault Promise<AccessTokenInfo,
AccessTokenException> Resolves a given access token against an authorization server. -
Uses of Supplier in org.forgerock.http.oauth2.resolver
Modifier and TypeMethodDescriptionCachingAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) OpenAmAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) Deprecated.TokenIntrospectionAccessTokenResolver.resolve
(Context context, Supplier<Request, IOException> request, String token) -
Uses of Supplier in org.forgerock.util
Modifier and TypeClassDescriptionfinal class
LazySupplier<T,
E extends Exception> ASupplier
that lazily computes a value the first time it is accessed and then caches the result to return on subsequent requests.Modifier and TypeMethodDescriptionstatic <T,
E extends Exception>
LazySupplier<T,E> Constructs a supplier that will lazily compute and cache a value from the given supplier.LambdaExceptionUtils.rethrowSupplier
(Supplier<T, E> supplier) -
Uses of Supplier in org.forgerock.util.promise
Modifier and TypeMethodDescriptionPromises.executeAsync
(Executor executor, Supplier<T, E> supplier) Execute the provided supplier through the executor and returns immediately aPromise
that will be completed once the supplier has been executed.Promises.newPromise
(Supplier<V, E> supplier) Execute a task and return the result as aPromise
.