authenticate

abstract suspend fun authenticate(authParams: Sessions.AuthParams): AuthResponse

Authenticates a Session and updates its lifetime by the specified session_duration_minutes. If the session_duration_minutes is not specified, a Session will not be extended

Return

AuthResponse

Parameters

authParams

required to authenticate


abstract fun authenticate(authParams: Sessions.AuthParams, callback: (AuthResponse) -> Unit)

Authenticates a Session and updates its lifetime by the specified session_duration_minutes. If the session_duration_minutes is not specified, a Session will not be extended

Parameters

authParams

required to authenticate

callback

a callback that receives an AuthResponse