<<

NAME

Koha::REST::Plugin::Auth::IdP

API

Helper methods

auth.register

    my $patron = $c->auth->register(
        {   data      => $patron_data,
            domain    => $domain,
            interface => $interface
        }
    );

If no patron passed, creates a new Koha::Patron if the provider is configured to do so for the domain.

auth.session

    my ( $status, $cookie, $session_id ) = $c->auth->session( $patron );

Generates a new session.

<<