authenticate

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

SessionsAuthenticateResponse

Parameters

authParams

required to authenticate


abstract fun authenticate(authParams: B2BSessions.AuthParams, callback: (SessionsAuthenticateResponse) -> 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 SessionsAuthenticateResponse