Password Matcher Password Matcher
Password Matcher Password Matcher
DocFX + Singulink = ♥

Search Results for

    Method GetFirstMatch

    GetFirstMatch(string, IEnumerable<PasswordMatcher>)

    Gets the first match for a password from the given matchers, or null if the password does not match any of them.

    Declaration
    public static PasswordMatch? GetFirstMatch(string password, IEnumerable<PasswordMatcher> matchers)
    Parameters
    Type Name Description
    string password

    The password to match.

    IEnumerable<PasswordMatcher> matchers

    The matchers to try, in order.

    Returns
    Type Description
    PasswordMatch
    Remarks

    A matcher only matches the password if it consumes the entire password. Matchers are tried in order and the first match found is returned.

    © Singulink. All rights reserved.