41 explicit operator
bool() const noexcept {
return native_ !=
nullptr; }
49 std::string_view auth_user() const noexcept;
53 Key auth_public_key() const;
55 Result<
void> try_reply_auth_success();
56 Result<
void> try_reply_auth_failure(
bool partial = false);
58 Result<
void> try_reply_auth_pk_ok();
59 Result<
void> try_reply_default();
66 std::string_view exec_command() const noexcept;
67 std::string_view subsystem_name() const noexcept;
68 std::pair<
std::string_view,
std::string_view> env_pair() const noexcept;
70 Result<
void> try_reply_success();
71 Result<
void> try_reply_failure();
79 bool replied_ =
false;