Package com.linecorp.bot.client
Interface ChannelTokenSupplier
-
- All Superinterfaces:
java.util.function.Supplier<java.lang.String>
- All Known Implementing Classes:
FixedChannelTokenSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ChannelTokenSupplier extends java.util.function.Supplier<java.lang.String>
SpecialSupplier
for Channel Access Token.You can implement it to return same channel tokens. Or refresh tokens internally.