public class OAuthService extends Object
Constructor and Description |
---|
OAuthService(BaseConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
changeClientSecret(String clientSecret)
Changes the OAuth request client secret
|
String |
getAccessToken()
Returns a valid access token.
|
OAuthTokenRequest |
getTokenRequest() |
void |
updateCredentials(String clientId,
String clientSecret)
Updates both client ID and secret
|
public OAuthService(BaseConfiguration config)
public String getAccessToken()
public void changeClientSecret(String clientSecret)
public void updateCredentials(String clientId, String clientSecret)
clientId
- the new client IDclientSecret
- the new client secretpublic OAuthTokenRequest getTokenRequest()
Copyright © 2025 Cense Data Inc.. All rights reserved.