Class OauthAuthorizeOptions

java.lang.Object
com.dnsimple.request.OauthAuthorizeOptions

public class OauthAuthorizeOptions extends Object
  • Method Details

    • of

      public static OauthAuthorizeOptions of(String clientId, String state)
      Parameters:
      clientId - The client ID you received from DNSimple when you registered the application.
      state - An unguessable random string. It is used to protect against cross-site request forgery attacks and it will be passed back to your redirect URI.
    • redirectUri

      public OauthAuthorizeOptions redirectUri(String redirectUri)
      Set where to redirect the user after authorization has completed. This must be the exact URI registered or a subdirectory.
    • asMap

      public Map<String,String> asMap()