1 package FS::Auth::my_external_auth;
2 use base qw( FS::Auth::external ); #need to inherit from ::external
7 my($self, $username, $check_password, $info ) = @_;
9 #your magic happens here
13 #optionally return a real name
14 #$info->{'first'} = "Jean";
15 #$info->{'last'} = "D'eau";
17 #optionally return a template username to copy access groups from that user
18 #$info->{'template_user'} = 'username';