Package com.dnsimple.endpoints
Class Oauth
java.lang.Object
com.dnsimple.endpoints.Oauth
Provides access to the DNSimple OAuth API.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizeUrl(OauthAuthorizeOptions options) Gets the URL to authorize a user for an application via the OAuth2 flow.Exchange the short-lived authorization code for an access token that is used to authenticate API calls.
-
Constructor Details
-
Oauth
-
-
Method Details
-
authorizeUrl
Gets the URL to authorize a user for an application via the OAuth2 flow.- Parameters:
options- The options for the OAuth authorization URL- Returns:
- The authorize URL String
- See Also:
-
exchangeAuthorizationForToken
Exchange the short-lived authorization code for an access token that is used to authenticate API calls.- Parameters:
options- The options for the OAuth exchange call- Returns:
- The AccessToken instance
- See Also:
-