authenticate
abstract suspend fun authenticate(authParams: B2BSessions.AuthParams): AuthResponse
Content copied to clipboard
Wraps the sessions authenticate API endpoint which creates a session using the provided duration
Return
AuthResponse response from backend
Parameters
authParams
required to authenticate
abstract fun authenticate(authParams: B2BSessions.AuthParams, callback: (AuthResponse) -> Unit)
Content copied to clipboard
Wraps the sessions authenticate API endpoint which creates a session using the provided duration
Parameters
authParams
required to authenticate
callback
calls callback with AuthResponse response from backend