Authen::SASL::Perl::PLAIN(3pm)

Authen::SASL::Perl::PLAIN3pm

Plain login authentication class

Usage

  use Authen::SASL qw(Perl);
  $sasl = Authen::SASL->new(
    mechanism => 'PLAIN',
    callback  => {
      user => $user,
      pass => $pass
    },
  );

Version

version 2.2100

Overview

This method implements the client and server part of the PLAIN SASL algorithm, as described in RFC 2595 resp. IETF Draft draft-ietf-sasl-plain-XX.txt

Callback

The callbacks used are:

Client

authname

The authorization id to use after successful authentication (client)

user

The username to be used for authentication (client)

pass

The user's password to be used for authentication.

Server

checkpass(username, password, realm)

returns true and false depending on the validity of the credentials passed in arguments.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–7
  5. 8–10
  6. 11
  7. 12
  8. 13
  9. Arch

Authors

Software written by Graham Barr <[email protected]>, documentation written by Peter Marschall <[email protected]>.

Please report any bugs, or post any suggestions, to the perl-ldap mailing list <[email protected]>

From perl-authen-sasl 2.2100-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.