Package dev.adlin.vts4j.auth
Class AuthenticationProvider
java.lang.Object
dev.adlin.vts4j.auth.AuthenticationProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull CompletableFuture<Void> authenticateWithExistingToken(@NotNull PluginMeta pluginMeta, @NotNull String token) @NotNull CompletableFuture<String> authenticateWithNewToken(@NotNull PluginMeta pluginMeta)
-
Constructor Details
-
AuthenticationProvider
public AuthenticationProvider()
-
-
Method Details
-
authenticateWithNewToken
@NotNull public @NotNull CompletableFuture<String> authenticateWithNewToken(@NotNull @NotNull PluginMeta pluginMeta) -
authenticateWithExistingToken
@NotNull public @NotNull CompletableFuture<Void> authenticateWithExistingToken(@NotNull @NotNull PluginMeta pluginMeta, @NotNull @NotNull String token)
-