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