NAME

Mozilla::Persona::Validate::IMAPTalk - validate the existence via IMAP

INHERITANCE

 Mozilla::Persona::Validate::IMAPTalk
   is a Mozilla::Persona::Validate

SYNOPSIS

  # add to the configation of $domain.json
  { ...
    "validate" : {
      "class" : "Mozilla::Persona::Validator::IMAPTalk",
      "server" : "imap.example.com"
    },
    ...
  }

DESCRIPTION

The validator object must ensure that the user/password combination is valid. In this implementation, being able to log-in to an IMAP4 server (by using IMAP::Talk) is a prove of the user's authenticity.

METHODS

Constructors

Mozilla::Persona::Validate::IMAPTalk->new(OPTIONS)
 -Option--Default
  server  <required>
server => SERVER

The server to contact.

Validation

$obj->isValid(USER, PASSWORD)

See "Validation" in Mozilla::Persona::Validate

Accessors

$obj->server()

SEE ALSO

This module is part of Mozilla-Persona distribution version 0.12, built on November 22, 2012. Website: http://perl.overmeer.net. The code is based on the MulkyID code by Matthias Benkard.

Persona is described at http://www.mozilla.org/persona/

COPYRIGHTS

Copyrights of the perl code and the related documentation by 2012 by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html