java.lang.Object
one.jpro.platform.auth.core.jwt.JWTAuthAPI

public class JWTAuthAPI extends Object
JWTAuth API class.
  • Constructor Details

    • JWTAuthAPI

      public JWTAuthAPI(@NotNull @NotNull JWTAuthOptions options)
  • 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: