Class OauthExchangeOptions

java.lang.Object
com.dnsimple.request.OauthExchangeOptions

public class OauthExchangeOptions extends Object
  • Method Details

    • of

      public static OauthExchangeOptions of(String code, String clientId, String clientSecret, String state)
      Parameters:
      code - The code acquired in the previous authorization step.
      clientId - The client ID you received from DNSimple when you registered the application.
      clientSecret - The client secret you received from DNSimple when you registered the application.
      state - The state content originally passed to /oauth/authorize.
    • redirectUri

      public OauthExchangeOptions redirectUri(String redirectUri)
      Only used to validate that it matches the original /oauth/authorize, not used to redirect again.
    • asMap

      public Map<String,String> asMap()