| Package | Description |
|---|---|
| com.onshape.api.base |
Onshape API client base functionality.
|
| com.onshape.api.desktop |
Utility to use OAuth authentication from client on desktop application.
|
| Modifier and Type | Method | Description |
|---|---|---|
OAuthTokenResponse |
BaseClient.getToken() |
Get the active OAuth token
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BaseClient.setOAuthTokenResponse(OAuthTokenResponse token,
Date tokenReceived,
String clientId,
String clientSecret) |
Set a previously requested OAuth token
|
void |
BaseClient.setOAuthTokenResponse(OAuthTokenResponse token,
Date tokenReceived,
String clientId,
String clientSecret,
String redirectURI) |
Set a previously requested OAuth token
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
OnshapeDesktop.setupClient(BaseClient client,
OAuthTokenResponse token,
Date tokenReceived) |
Applies previously obtained OAuth token to the given Onshape client
instance.
|
Copyright © 2021. All rights reserved.