"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.FailedLogins = void 0;
const resource_1 = require("cloudflare/resource");
class FailedLogins extends resource_1.APIResource {
    /**
     * Get all failed login attempts for a single user.
     */
    list(identifier, id, options) {
        return this._client.get(`/accounts/${identifier}/access/users/${id}/failed_logins`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.FailedLogins = FailedLogins;
(function (FailedLogins) {
})(FailedLogins = exports.FailedLogins || (exports.FailedLogins = {}));
//# sourceMappingURL=failed-logins.js.map