NAME

plenigo::LoginManager - Handles log ins of a customer.

SYNOPSIS

use plenigo::LoginManager;

# Prepare configuration

my $use_stage = 0; # set if stage system should be used
my $configuration = plenigo::Configuration->new(access_token => 'ACCESS_TOKEN', use_stage => $use_stage);

# create one or more login tokens for a customer to show the customer snippets

my %loginTokens = $login_manager->createLoginTokens($customer_id);

DESCRIPTION

plenigo::LoginManager offers functionality to log in a customer.

createLoginTokens($customer_id, $amount)

Create login tokens for a customer to show the customer snippets.