onInfoRequest

abstract suspend fun onInfoRequest(name: String, instruction: String, prompts: List<KeyboardInteractiveCallback.Prompt>, respond: suspend (responses: List<String>) -> Unit)(source)

Called when the server sends an info request with prompts.

Parameters

name

Name of the authentication request (may be empty)

instruction

Instructions for the user (may be empty)

prompts

List of prompts the user must answer

respond

Call this with the list of responses (one per prompt)