authenticate
abstract suspend fun authenticate(authParams: Sessions.AuthParams): AuthResponse
Content copied to clipboard
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
Parameters
authParams
required to authenticate
abstract fun authenticate(authParams: Sessions.AuthParams, callback: (AuthResponse) -> Unit)
Content copied to clipboard
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