[% USE raw %] [% USE Koha %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] API Keys › Patrons › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search-header.inc' %]
[% INCLUDE 'members-toolbar.inc' %]

API keys for [% INCLUDE 'patron-title.inc' %]

[% IF fresh_api_key %] [%# A fresh api key was generated, display the secret, only once %]
Make sure to copy your API secret now. You won’t be able to see it again!
  1. Description: [% fresh_api_key.description | html %]
  2. Client ID: [% fresh_api_key.client_id | html %]
  3. Secret: [% fresh_api_key.plain_text_secret | html %]
[% END %]
[% IF api_keys.count %]

[% FOREACH key IN api_keys %] [% END %]
Description Client ID Active Actions
[% key.description | html %] [% key.client_id | html %] [% IF key.active %]Yes[% ELSE %]No[% END %]
[% IF key.active %] [% ELSE %] [% END %]
[% ELSE %]
No keys defined for the current patron. Generate a new client id/secret pair
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]