Class AuthenticationApi.Refresh

Enclosing class:
AuthenticationApi

public final class AuthenticationApi.Refresh extends EndpointCategoryCall<AuthenticationApi.Refresh>
Handler for the refresh API method that lets you choose the content type via the Accept header.
  • Method Details

    • self

      protected AuthenticationApi.Refresh self()
      Specified by:
      self in class ApiCall<AuthenticationApi.Refresh>
    • endpointCategory

      public Class<? extends EndpointCategory> endpointCategory()
      Specified by:
      endpointCategory in class EndpointCategoryCall<AuthenticationApi.Refresh>
      Returns:
      The endpoint category that created this API call.
    • requestJson

      Calls the API with the Accept header set to application/json; charset=utf-8.

      Refreshes an access token. Refreshes an access token with a refresh token. Also returns a new refresh token.

      Status codes that may be returned by this API call:

      • 200 - An JSON with access and refresh token and necessary metadata after successful refresh.
      Returns:
      A completion stage that resolves with the data returned by the API.
    • requestJson_v1_0

      public ApiInvocation<AuthenticationTokenResponse> requestJson_v1_0()
      Calls the API with the Accept header set to application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8.

      Refreshes an access token. Refreshes an access token with a refresh token. Also returns a new refresh token.

      Status codes that may be returned by this API call:

      • 200 - An JSON with access and refresh token and necessary metadata after successful refresh.
      Returns:
      A completion stage that resolves with the data returned by the API.