java.lang.Object
one.jpro.platform.auth.core.jwt.JWTAuthAPI
JWTAuth API class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<org.json.JSONObject> Post a request to the token endpoint to obtain a JWT.
-
Constructor Details
-
JWTAuthAPI
-
-
Method Details
-
token
public CompletableFuture<org.json.JSONObject> token(@NotNull @NotNull String tokenPath, @NotNull @NotNull org.json.JSONObject params) Post a request to the token endpoint to obtain a JWT.- Parameters:
tokenPath- the path to the token endpoint.params- the parameters to be sent.- See Also:
-