NAME

API::MailboxOrg::API::Passwordreset - MailboxOrg::API::Passwordreset

VERSION

version 1.0.2

SYNOPSIS

use API::MailboxOrg;

my $user     = '1234abc';
my $password = '1234abc';

my $api      = API::MailboxOrg->new(
    user     => $user,
    password => $password,
);

METHODS

listmethods

Returns a list of available password reset methods for the given user

Parameters:

  • mail

returns: array

$api->passwordreset->listmethods(%params);

sendsms

Send a password reset token by SMS

Parameters:

  • mail

  • cell_phone

returns: boolean

$api->passwordreset->sendsms(%params);

setpassword

Set a new password using a password reset token

Parameters:

  • mail

  • token

  • password

returns: boolean

$api->passwordreset->setpassword(%params);

AUTHOR

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)