Libssh2 userauth authenticated

From Libssh2

int libssh2_userauth_authenticated(LIBSSH2_SESSION *session);

About

Indicates whether or not the named session has been successfully authenticated.

Parameters

Returns

  • If Authenticated: 1
  • If Not Authenticated: 0