# -*- coding: utf-8 -*-

from zope.interface import Interface


class IPasswordManager(Interface):

    def request_password_reset():
        """ask for password reset, generate a challenge available
        in PasswordRequestedEvent"""

    def reset_password(newpass, challenge):
        """reset password to newpass giving the challenge

        return True if operation was successful"""

6fdfada5d5536d81add1f378be213062b372377a
<mask token>


class IPasswordManager(Interface):
    <mask token>
    <mask token>

<mask token>


class IPasswordManager(Interface):
    <mask token>

    def reset_password(newpass, challenge):
        """reset password to newpass giving the challenge

        return True if operation was successful"""

<mask token>


class IPasswordManager(Interface):

    def request_password_reset():
        """ask for password reset, generate a challenge available
        in PasswordRequestedEvent"""

    def reset_password(newpass, challenge):
        """reset password to newpass giving the challenge

        return True if operation was successful"""

from zope.interface import Interface


class IPasswordManager(Interface):

    def request_password_reset():
        """ask for password reset, generate a challenge available
        in PasswordRequestedEvent"""

    def reset_password(newpass, challenge):
        """reset password to newpass giving the challenge

        return True if operation was successful"""

# -*- coding: utf-8 -*-

from zope.interface import Interface


class IPasswordManager(Interface):

    def request_password_reset():
        """ask for password reset, generate a challenge available
        in PasswordRequestedEvent"""

    def reset_password(newpass, challenge):
        """reset password to newpass giving the challenge

        return True if operation was successful"""
