<<

NAME

Koha::Schema::Result::ApiKey

TABLE: api_keys

ACCESSORS

client_id

  data_type: 'varchar'
  is_nullable: 0
  size: 191

API client ID

secret

  data_type: 'varchar'
  is_nullable: 0
  size: 191

API client secret used for API authentication

description

  data_type: 'varchar'
  is_nullable: 0
  size: 255

API client description

patron_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

Foreign key to the borrowers table

active

  data_type: 'tinyint'
  default_value: 1
  is_nullable: 0

0 means this API key is revoked

PRIMARY KEY

UNIQUE CONSTRAINTS

secret

RELATIONS

patron

Type: belongs_to

Related object: Koha::Schema::Result::Borrower

<<