Package com.dnsimple.request
Class OauthExchangeOptions
java.lang.Object
com.dnsimple.request.OauthExchangeOptions
-
Method Summary
Modifier and TypeMethodDescriptionasMap()static OauthExchangeOptionsredirectUri(String redirectUri) Only used to validate that it matches the original /oauth/authorize, not used to redirect again.
-
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
Only used to validate that it matches the original /oauth/authorize, not used to redirect again. -
asMap
-