Class OAuthTokenResponse

java.lang.Object
org.apache.iceberg.rest.responses.OAuthTokenResponse
All Implemented Interfaces:
RESTMessage, RESTResponse

public class OAuthTokenResponse extends Object implements RESTResponse
  • Method Details

    • validate

      public void validate()
      Description copied from interface: RESTMessage
      Ensures that a constructed instance of a REST message is valid according to the REST spec.

      This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.

      Specified by:
      validate in interface RESTMessage
    • token

      public String token()
    • issuedTokenType

      public String issuedTokenType()
    • tokenType

      public String tokenType()
    • expiresInSeconds

      public Integer expiresInSeconds()
    • scopes

      public List<String> scopes()
    • builder

      public static OAuthTokenResponse.Builder builder()