enum ssh_auth_state_e

Overview

#include <auth.h>

enum ssh_auth_state_e {
    SSH_AUTH_STATE_NONE                =0,
    SSH_AUTH_STATE_PARTIAL,
    SSH_AUTH_STATE_SUCCESS,
    SSH_AUTH_STATE_FAILED,
    SSH_AUTH_STATE_ERROR,
    SSH_AUTH_STATE_INFO,
    SSH_AUTH_STATE_PK_OK,
    SSH_AUTH_STATE_KBDINT_SENT,
    SSH_AUTH_STATE_GSSAPI_REQUEST_SENT,
    SSH_AUTH_STATE_GSSAPI_TOKEN,
    SSH_AUTH_STATE_GSSAPI_MIC_SENT,
};

Detailed Documentation

Enum Values

SSH_AUTH_STATE_NONE

No authentication asked.

SSH_AUTH_STATE_PARTIAL

Last authentication response was a partial success.

SSH_AUTH_STATE_SUCCESS

Last authentication response was a success.

SSH_AUTH_STATE_FAILED

Last authentication response was failed.

SSH_AUTH_STATE_ERROR

Last authentication was erroneous.

SSH_AUTH_STATE_INFO

Last state was a keyboard-interactive ask for info.

SSH_AUTH_STATE_PK_OK

Last state was a public key accepted for authentication.

SSH_AUTH_STATE_KBDINT_SENT

We asked for a keyboard-interactive authentication.

SSH_AUTH_STATE_GSSAPI_REQUEST_SENT

We have sent an userauth request with gssapi-with-mic.

SSH_AUTH_STATE_GSSAPI_TOKEN

We are exchanging tokens until authentication.

SSH_AUTH_STATE_GSSAPI_MIC_SENT

We have sent the MIC and expecting to be authenticated.