ladybird/Userland/Libraries/LibCore/GetPassword.h
2021-11-08 00:35:27 +01:00

16 lines
279 B
C++

/*
* Copyright (c) 2020, Peter Elliott <pelliott@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Error.h>
#include <LibCore/SecretString.h>
namespace Core {
ErrorOr<SecretString> get_password(StringView prompt = "Password: "sv);
}