Package com.bennyapi.services.blocking
Interface SessionService
-
- All Implemented Interfaces:
public interface SessionService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSessionService.WithRawResponseA view of SessionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract SessionService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract SessionServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. SessionCreateTokenResponsecreateToken(SessionCreateTokenParams params)Creates a session token to authenticate mobile and web SDKs. abstract SessionCreateTokenResponsecreateToken(SessionCreateTokenParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract SessionService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SessionService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createToken
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 SessionCreateTokenResponse createToken(SessionCreateTokenParams params, RequestOptions requestOptions)
-
-
-
-