Package | Description |
---|---|
io.sphere.sdk.client |
Provides types to connect to the API via HTTPS.
|
Modifier and Type | Method and Description |
---|---|
static Tokens |
Tokens.of(String accessToken,
String refreshToken,
Long expiresIn) |
Modifier and Type | Method and Description |
---|---|
static CompletionStage<Tokens> |
TokensFacade.fetchCustomerPasswordFlowTokens(SphereAuthConfig authConfig,
String email,
String password)
Fetches a new access token using the customer password flow.
|
static CompletionStage<Tokens> |
TokensFacade.fetchTokens(SphereAuthConfig authConfig)
Fetches a new access token using the client credentials flow.
|
CompletionStage<Tokens> |
TokensSupplier.get() |
static com.fasterxml.jackson.core.type.TypeReference<Tokens> |
Tokens.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|