|
Line 0
Link Here
|
|
|
1 |
use utf8; |
| 2 |
package Koha::Schema::Result::ShibbolethConfig; |
| 3 |
|
| 4 |
# Created by DBIx::Class::Schema::Loader |
| 5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
| 6 |
|
| 7 |
=head1 NAME |
| 8 |
|
| 9 |
Koha::Schema::Result::ShibbolethConfig |
| 10 |
|
| 11 |
=cut |
| 12 |
|
| 13 |
use strict; |
| 14 |
use warnings; |
| 15 |
|
| 16 |
use base 'DBIx::Class::Core'; |
| 17 |
|
| 18 |
=head1 TABLE: C<shibboleth_config> |
| 19 |
|
| 20 |
=cut |
| 21 |
|
| 22 |
__PACKAGE__->table("shibboleth_config"); |
| 23 |
|
| 24 |
=head1 ACCESSORS |
| 25 |
|
| 26 |
=head2 shibboleth_config_id |
| 27 |
|
| 28 |
data_type: 'integer' |
| 29 |
is_auto_increment: 1 |
| 30 |
is_nullable: 0 |
| 31 |
|
| 32 |
primary key |
| 33 |
|
| 34 |
=head2 force_opac_sso |
| 35 |
|
| 36 |
data_type: 'tinyint' |
| 37 |
default_value: 0 |
| 38 |
is_nullable: 0 |
| 39 |
|
| 40 |
Force Shibboleth SSO for OPAC |
| 41 |
|
| 42 |
=head2 force_staff_sso |
| 43 |
|
| 44 |
data_type: 'tinyint' |
| 45 |
default_value: 0 |
| 46 |
is_nullable: 0 |
| 47 |
|
| 48 |
Force Shibboleth SSO for staff interface |
| 49 |
|
| 50 |
=head2 autocreate |
| 51 |
|
| 52 |
data_type: 'tinyint' |
| 53 |
default_value: 0 |
| 54 |
is_nullable: 0 |
| 55 |
|
| 56 |
Automatically create new patrons |
| 57 |
|
| 58 |
=head2 sync |
| 59 |
|
| 60 |
data_type: 'tinyint' |
| 61 |
default_value: 0 |
| 62 |
is_nullable: 0 |
| 63 |
|
| 64 |
Sync patron attributes on login |
| 65 |
|
| 66 |
=head2 welcome |
| 67 |
|
| 68 |
data_type: 'tinyint' |
| 69 |
default_value: 0 |
| 70 |
is_nullable: 0 |
| 71 |
|
| 72 |
Send welcome email to new patrons |
| 73 |
|
| 74 |
=cut |
| 75 |
|
| 76 |
__PACKAGE__->add_columns( |
| 77 |
"shibboleth_config_id", |
| 78 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
| 79 |
"force_opac_sso", |
| 80 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 81 |
"force_staff_sso", |
| 82 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 83 |
"autocreate", |
| 84 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 85 |
"sync", |
| 86 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 87 |
"welcome", |
| 88 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 89 |
); |
| 90 |
|
| 91 |
=head1 PRIMARY KEY |
| 92 |
|
| 93 |
=over 4 |
| 94 |
|
| 95 |
=item * L</shibboleth_config_id> |
| 96 |
|
| 97 |
=back |
| 98 |
|
| 99 |
=cut |
| 100 |
|
| 101 |
__PACKAGE__->set_primary_key("shibboleth_config_id"); |
| 102 |
|
| 103 |
|
| 104 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-31 15:43:50 |
| 105 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AIDq10SUxo8NgJsBj8oldg |
| 106 |
|
| 107 |
|
| 108 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
| 109 |
1; |