public class OauthAuthenticationHelper
extends javafx.application.Application
Modifier and Type | Field and Description |
---|---|
static String |
access_token |
static String |
expires_in |
static String |
refresh_token |
Constructor and Description |
---|
OauthAuthenticationHelper() |
Modifier and Type | Method and Description |
---|---|
void |
launchApp(String[] args) |
void |
setAuthenticationUriVars()
Makes the call to WatchDox to get the URLs for getting the temporary code, plus the access token.
|
void |
start(javafx.stage.Stage primaryStage)
Parses the params and then kicks off the process by opening a mini-browser window
|
public static String refresh_token
public static String expires_in
public static String access_token
public void launchApp(String[] args)
public void start(javafx.stage.Stage primaryStage) throws Exception
start
in class javafx.application.Application
primaryStage
- (passed in automatically)Exception
public void setAuthenticationUriVars()
IOException
- i.e. JSON parsing errorCopyright © 2019. All rights reserved.