blob: 6e1e17ed26e102614179d2f2078f6ac2f8e80677 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* Copyright (c) 2020, Peter Elliott <pelliott@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/OSError.h>
#include <AK/Result.h>
#include <AK/String.h>
#include <LibCore/SecretString.h>
namespace Core {
Result<SecretString, OSError> get_password(const StringView& prompt = "Password: "sv);
}
|