public class OAuthAuthenticator extends Object
Constructor and Description |
---|
OAuthAuthenticator() |
Modifier and Type | Method and Description |
---|---|
static String |
base64encode(String value) |
static TokenInfo |
loginWithAccessToken(String token) |
static TokenInfo |
loginWithClientSecret(URI tokenEndpointUrl,
SSLSocketFactory socketFactory,
HostnameVerifier hostnameVerifier,
String clientId,
String clientSecret) |
static TokenInfo |
loginWithRefreshToken(URI tokenEndpointUrl,
SSLSocketFactory socketFactory,
HostnameVerifier hostnameVerifier,
String refreshToken,
String clientId,
String clientSecret) |
static String |
urlencode(String value) |
public static TokenInfo loginWithClientSecret(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String clientId, String clientSecret) throws IOException
IOException
public static TokenInfo loginWithRefreshToken(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String refreshToken, String clientId, String clientSecret) throws IOException
IOException
Copyright © 2019. All rights reserved.