Koha::REST::Plugin::Auth::IdP
Missing POD for register.
my $patron = $c->auth->register(
{
data => $patron_data,
domain => $domain,
interface => $interface
}
);
This helper creates a new Koha::Patron using the (already) mapped data provided in the data attribute.
A check is done on the passed interface and domain to validate the provider is configured to allow auto registration.
Valid values for interface are opac and staff. An exception will be thrown if other values or none are passed.
my ( $status, $cookie, $session_id ) = $c->auth->session( $patron );
Generates a new session.