All Implemented Interfaces:
RestHandler, RestRequestFilter

public final class RestGetTokenAction extends SecurityBaseRestHandler implements RestRequestFilter
An implementation of a OAuth2-esque API for retrieval of an access token. This API does not conform to the RFC completely as it uses XContent for the request body instead for form encoded data. This is a relatively common modification of the OAuth2 specification as this aspect does not make the most sense since the response body is expected to be JSON