Class GetTokenRequest

All Implemented Interfaces:

public class GetTokenRequest
extends RequestBase
implements JsonpSerializable
Creates a bearer token for access without requiring basic authentication.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static GetTokenRequest of​(java.util.function.Function<GetTokenRequest.Builder,​ObjectBuilder<GetTokenRequest>> fn)
    • grantType

      @Nullable public final AccessTokenGrantType grantType()
      API name: grant_type
    • kerberosTicket

      @Nullable public final java.lang.String kerberosTicket()
      API name: kerberos_ticket
    • password

      @Nullable public final java.lang.String password()
      API name: password
    • refreshToken

      @Nullable public final java.lang.String refreshToken()
      API name: refresh_token
    • scope

      @Nullable public final java.lang.String scope()
      API name: scope
    • username

      @Nullable public final java.lang.String username()
      API name: username
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupGetTokenRequestDeserializer

      protected static void setupGetTokenRequestDeserializer​(ObjectDeserializer<GetTokenRequest.Builder> op)