Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public interface BearerTokenResolver

Known subtypesDefaultBearerTokenResolver

Finds the bearer token in a request.

Methods

public abstract String resolve(HttpServer.Request request)The token, or null when the request carries none.

Method details

resolve

public abstract String resolve(HttpServer.Request request)

The token, or null when the request carries none.

  • OAuth2AuthenticationException: when the request carries one that is malformed, or more than one