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

Authen::SASL::Perl::XOAUTH23pm

Xoauth2 authentication class

Usage

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

Version

version 2.2100

Overview

This module implements the client side of the XOAUTH2 SASL mechanism, which is used for OAuth 2.0-based authentication.

Callback

The callbacks used are:

Client

user

The username to be used for authentication.

pass

The OAuth 2.0 access token to be used for authentication.

Authors

Written by Aditya Garg and Julian Swagemakers.

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