Serenity Operating System
at master 16 lines 279 B view raw
1/* 2 * Copyright (c) 2020, Peter Elliott <pelliott@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <AK/Error.h> 10#include <LibCore/SecretString.h> 11 12namespace Core { 13 14ErrorOr<SecretString> get_password(StringView prompt = "Password: "sv); 15 16}