Package com.dnsimple.request
Class OauthAuthorizeOptions
- java.lang.Object
-
- com.dnsimple.request.OauthAuthorizeOptions
-
public class OauthAuthorizeOptions extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>asMap()static OauthAuthorizeOptionsof(java.lang.String clientId, java.lang.String state)OauthAuthorizeOptionsredirectUri(java.lang.String redirectUri)Set where to redirect the user after authorization has completed.
-
-
-
Method Detail
-
of
public static OauthAuthorizeOptions of(java.lang.String clientId, java.lang.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(java.lang.String redirectUri)
Set where to redirect the user after authorization has completed. This must be the exact URI registered or a subdirectory.
-
asMap
public java.util.Map<java.lang.String,java.lang.String> asMap()
-
-