Class RequestTokenResponse

java.lang.Object
com.amilesend.discogs.connection.auth.oauth.RequestTokenResponse

public class RequestTokenResponse extends Object
Describes the response during the OAuth flow when requesting the request token that is used during the handshake to request permission from the user to grant the application access.
  • Method Details

    • parseBodyResponse

      public static RequestTokenResponse parseBodyResponse(String response)
      Parses a service response message body to extract and build a RequestTokenResponse.
      Parameters:
      response - the response body contents
      Returns:
      the request token response
    • builder

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getToken

      public String getToken()
      The request token.
    • getSecret

      public String getSecret()
      The associated token secret.
    • getCallbackConfirmed

      public Boolean getCallbackConfirmed()
      Indicates if the client callback was confirmed.