Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberLoginFailedNotification

    Notification that is published when a member login attempt fails.

    Inheritance
    object
    MemberNotification
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class MemberLoginFailedNotification : MemberNotification, INotification
    Remarks

    This notification is useful for audit logging, security monitoring, and detecting potential brute-force attacks. The MemberKey may be null if the member could not be found for the given credentials.

    Constructors

    View Source

    MemberLoginFailedNotification(string, Guid?, string)

    Initializes a new instance of the MemberLoginFailedNotification class.

    Declaration
    public MemberLoginFailedNotification(string ipAddress, Guid? memberKey, string reason)
    Parameters
    Type Name Description
    string ipAddress

    The source IP address of the failed login attempt.

    Guid? memberKey

    The key of the member whose login failed, or null if the member could not be found.

    string reason

    The reason the login attempt failed (e.g. "InvalidCredentials", "LockedOut", "NotAllowed", "MemberNotFound").

    Properties

    View Source

    Reason

    Gets the reason the login attempt failed.

    Declaration
    public string Reason { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX