manpagez: man pages & more
man Authen::SASL::Perl::OAUTHBEARER(3)
Home | html | info | man
Authen::SASL::Perl::OAUTHBEARER(3)         User Contributed Perl Documentation



NAME

       Authen::SASL::Perl::OAUTHBEARER - OAUTHBEARER Authentication class


VERSION

       version 2.2000


SYNOPSIS

         use Authen::SASL qw(Perl);

         $sasl = Authen::SASL->new(
           mechanism => 'OAUTHBEARER',
           callback  => {
             user => $user,
             host => $hostname, #optional
             port => $port, #optional
             pass => $access_token
           },
         );


DESCRIPTION

       This module implements the client side of the OAUTHBEARER 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.

       host
           The hostname to which the client will connect to. It is optional
           and can be omitted.

       port
           The destination port that the client will connect to. It should be
           a decimal positive integer string without leading zeros. It is
           optional and can be omitted.

       pass
           The OAuth 2.0 access token to be used for authentication.


SEE ALSO

       Authen::SASL(3), Authen::SASL::Perl(3)


AUTHORS

       Written by Aditya Garg and Julian Swagemakers.


COPYRIGHT

       Copyright (c) 2025 Aditya Garg.

       Copyright (c) 2025 Julian Swagemakers.

       All rights reserved. This program is free software; you can
       redistribute it and/or modify it under the same terms as Perl itself.

perl v5.34.3                      2026-01-30
                                            Authen::SASL::Perl::OAUTHBEARER(3)

authen-sasl 2.200.0 - Generated Fri Jan 30 08:12:23 CST 2026
© manpagez.com 2000-2026
Individual documents may contain additional copyright information.