All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest, TransportRequest

public final class CreateTokenRequest extends LegacyActionRequest
Represents a request to create a token based on the provided information. This class accepts the fields for an OAuth 2.0 access token request that uses the password grant type or the refresh_token grant type.