Package com.bennyapi.services.async
Interface SessionServiceAsync
-
- All Implemented Interfaces:
public interface SessionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSessionServiceAsync.WithRawResponseA view of SessionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract SessionServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract SessionServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<SessionCreateTokenResponse>createToken(SessionCreateTokenParams params)Creates a session token to authenticate mobile and web SDKs. abstract CompletableFuture<SessionCreateTokenResponse>createToken(SessionCreateTokenParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract SessionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SessionServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createToken
CompletableFuture<SessionCreateTokenResponse> createToken(SessionCreateTokenParams params)
Creates a session token to authenticate mobile and web SDKs. Session tokens are short-lived, expiring after 1 hour.
-
createToken
abstract CompletableFuture<SessionCreateTokenResponse> createToken(SessionCreateTokenParams params, RequestOptions requestOptions)
-
-
-
-