mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
@@ -53,6 +53,7 @@
|
||||
namespace rpc::credentials {
|
||||
|
||||
bool
|
||||
// NOLINTNEXTLINE(misc-use-internal-linkage)
|
||||
checkExpired(ripple::SLE const& sleCred, ripple::LedgerHeader const& ledger)
|
||||
{
|
||||
if (sleCred.isFieldPresent(ripple::sfExpiration)) {
|
||||
@@ -64,6 +65,7 @@ checkExpired(ripple::SLE const& sleCred, ripple::LedgerHeader const& ledger)
|
||||
}
|
||||
|
||||
std::set<std::pair<ripple::AccountID, ripple::Slice>>
|
||||
// NOLINTNEXTLINE(misc-use-internal-linkage)
|
||||
createAuthCredentials(ripple::STArray const& in)
|
||||
{
|
||||
std::set<std::pair<ripple::AccountID, ripple::Slice>> out;
|
||||
@@ -74,6 +76,7 @@ createAuthCredentials(ripple::STArray const& in)
|
||||
}
|
||||
|
||||
ripple::STArray
|
||||
// NOLINTNEXTLINE(misc-use-internal-linkage)
|
||||
parseAuthorizeCredentials(boost::json::array const& jv)
|
||||
{
|
||||
ripple::STArray arr;
|
||||
@@ -108,6 +111,7 @@ parseAuthorizeCredentials(boost::json::array const& jv)
|
||||
}
|
||||
|
||||
std::expected<ripple::STArray, Status>
|
||||
// NOLINTNEXTLINE(misc-use-internal-linkage)
|
||||
fetchCredentialArray(
|
||||
std::optional<boost::json::array> const& credID,
|
||||
ripple::AccountID const& srcAcc,
|
||||
|
||||
Reference in New Issue
Block a user