summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/GetPassword.h
blob: cdf703451ea7d14a1860bf42140b543b6fe2e7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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);

}