Class OAuthReceiver.OAuthReceiverBuilder
java.lang.Object
com.amilesend.onedrive.connection.auth.oauth.OAuthReceiver.OAuthReceiverBuilder
- Enclosing class:
OAuthReceiver
-
Method Summary
Modifier and TypeMethodDescriptionbuild()callbackPath(String callbackPath) failureLandingPageUrl(String failureLandingPageUrl) port(int port) successLandingPageUrl(String successLandingPageUrl) toString()
-
Method Details
-
host
- Parameters:
host- host of the receiver (Default: localhost)- Returns:
this.
-
port
- Parameters:
port- optional port of the receiver to listen on- Returns:
this.
-
callbackPath
- Parameters:
callbackPath- the path to listen for the redirect (Default: /Callback)- Returns:
this.
-
successLandingPageUrl
- Parameters:
successLandingPageUrl- optional URL for a custom successful landing page- Returns:
this.
-
failureLandingPageUrl
- Parameters:
failureLandingPageUrl- optional URL for a custom failure landing page- Returns:
this.
-
build
-
toString
-