// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class FailedLogins extends 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);
    }
}
(function (FailedLogins) {
})(FailedLogins || (FailedLogins = {}));
//# sourceMappingURL=failed-logins.mjs.map