Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface TokenEndpoint.Transport
Sends one form-encoded POST.
Methods
public abstract TokenEndpoint.Response post(String uri, List<String> headers, String form)
throws IOException |
Method details
post
public abstract TokenEndpoint.Response post(String uri, List<String> headers, String form)
throws IOExceptionParameters
uriString- the token endpoint
headersList<String>Name: valuelinesformString- the
application/x-www-form-urlencodedbody
Returns
what the endpoint answered
Throws
IOException- when it could not be reached