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 |
loginWithAccessToken(String token,
boolean isJWT) |
static TokenInfo |
loginWithClientSecret(URI tokenEndpointUrl,
SSLSocketFactory socketFactory,
HostnameVerifier hostnameVerifier,
String clientId,
String clientSecret,
boolean isJWT) |
static TokenInfo |
loginWithRefreshToken(URI tokenEndpointUrl,
SSLSocketFactory socketFactory,
HostnameVerifier hostnameVerifier,
String refreshToken,
String clientId,
String clientSecret,
boolean isJWT) |
static String |
urlencode(String value) |
public static TokenInfo loginWithClientSecret(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String clientId, String clientSecret, boolean isJWT) throws IOException
IOException
public static TokenInfo loginWithRefreshToken(URI tokenEndpointUrl, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier, String refreshToken, String clientId, String clientSecret, boolean isJWT) throws IOException
IOException
Copyright © 2020. All rights reserved.