Package | Description |
---|---|
com.salesforce.androidsdk.auth |
Modifier and Type | Method and Description |
---|---|
static OAuth2.TokenEndpointResponse |
OAuth2.exchangeCode(HttpAccess httpAccessor,
java.net.URI loginServer,
java.lang.String clientId,
java.lang.String code,
java.lang.String codeVerifier,
java.lang.String callbackUrl)
Exchange code for credentials.
|
static OAuth2.TokenEndpointResponse |
OAuth2.refreshAuthToken(HttpAccess httpAccessor,
java.net.URI loginServer,
java.lang.String clientId,
java.lang.String refreshToken,
java.util.Map<java.lang.String,java.lang.String> addlParams)
Gets a new auth token using the refresh token.
|
static OAuth2.TokenEndpointResponse |
OAuth2.swapJWTForTokens(HttpAccess httpAccessor,
java.net.URI loginServerUrl,
java.lang.String jwt)
Swaps a JWT for regular OAuth tokens.
|