- All Superinterfaces:
- java.util.function.Supplier<java.lang.Object>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@ConsumerType
@FunctionalInterface
public interface Credentials
extends java.util.function.Supplier<java.lang.Object>
Represents the the current request's credentials. Each implementation can
decide what to include in it. For example, this may be a token, a user ID,
etc.