|
Lines 50-56
Description for the provider
Link Here
|
| 50 |
=head2 protocol |
50 |
=head2 protocol |
| 51 |
|
51 |
|
| 52 |
data_type: 'enum' |
52 |
data_type: 'enum' |
| 53 |
extra: {list => ["OAuth","OIDC","LDAP","CAS"]} |
53 |
extra: {list => ["OAuth","OIDC","SAML2"]} |
| 54 |
is_nullable: 0 |
54 |
is_nullable: 0 |
| 55 |
|
55 |
|
| 56 |
Protocol provider speaks |
56 |
Protocol provider speaks |
|
Lines 62-81
Protocol provider speaks
Link Here
|
| 62 |
|
62 |
|
| 63 |
Configuration of the provider in JSON format |
63 |
Configuration of the provider in JSON format |
| 64 |
|
64 |
|
| 65 |
=head2 mapping |
65 |
=head2 enabled |
| 66 |
|
66 |
|
| 67 |
data_type: 'longtext' |
67 |
data_type: 'tinyint' |
|
|
68 |
default_value: 1 |
| 68 |
is_nullable: 0 |
69 |
is_nullable: 0 |
| 69 |
|
70 |
|
| 70 |
Configuration to map provider data to Koha user |
71 |
Whether this provider is active |
| 71 |
|
|
|
| 72 |
=head2 matchpoint |
| 73 |
|
| 74 |
data_type: 'enum' |
| 75 |
extra: {list => ["email","userid","cardnumber"]} |
| 76 |
is_nullable: 0 |
| 77 |
|
| 78 |
The patron attribute to be used as matchpoint |
| 79 |
|
72 |
|
| 80 |
=head2 icon_url |
73 |
=head2 icon_url |
| 81 |
|
74 |
|
|
Lines 97-115
__PACKAGE__->add_columns(
Link Here
|
| 97 |
"protocol", |
90 |
"protocol", |
| 98 |
{ |
91 |
{ |
| 99 |
data_type => "enum", |
92 |
data_type => "enum", |
| 100 |
extra => { list => ["OAuth", "OIDC", "LDAP", "CAS"] }, |
93 |
extra => { list => ["OAuth", "OIDC", "SAML2"] }, |
| 101 |
is_nullable => 0, |
94 |
is_nullable => 0, |
| 102 |
}, |
95 |
}, |
| 103 |
"config", |
96 |
"config", |
| 104 |
{ data_type => "longtext", is_nullable => 0 }, |
97 |
{ data_type => "longtext", is_nullable => 0 }, |
| 105 |
"mapping", |
98 |
"enabled", |
| 106 |
{ data_type => "longtext", is_nullable => 0 }, |
99 |
{ data_type => "tinyint", default_value => 1, is_nullable => 0 }, |
| 107 |
"matchpoint", |
|
|
| 108 |
{ |
| 109 |
data_type => "enum", |
| 110 |
extra => { list => ["email", "userid", "cardnumber"] }, |
| 111 |
is_nullable => 0, |
| 112 |
}, |
| 113 |
"icon_url", |
100 |
"icon_url", |
| 114 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
101 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
| 115 |
); |
102 |
); |
|
Lines 157-165
__PACKAGE__->has_many(
Link Here
|
| 157 |
{ cascade_copy => 0, cascade_delete => 0 }, |
144 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 158 |
); |
145 |
); |
| 159 |
|
146 |
|
|
|
147 |
=head2 identity_provider_hostnames |
| 148 |
|
| 149 |
Type: has_many |
| 150 |
|
| 151 |
Related object: L<Koha::Schema::Result::IdentityProviderHostname> |
| 152 |
|
| 153 |
=cut |
| 154 |
|
| 155 |
__PACKAGE__->has_many( |
| 156 |
"identity_provider_hostnames", |
| 157 |
"Koha::Schema::Result::IdentityProviderHostname", |
| 158 |
{ "foreign.identity_provider_id" => "self.identity_provider_id" }, |
| 159 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 160 |
); |
| 161 |
|
| 162 |
=head2 identity_provider_mappings |
| 163 |
|
| 164 |
Type: has_many |
| 165 |
|
| 166 |
Related object: L<Koha::Schema::Result::IdentityProviderMapping> |
| 167 |
|
| 168 |
=cut |
| 169 |
|
| 170 |
__PACKAGE__->has_many( |
| 171 |
"identity_provider_mappings", |
| 172 |
"Koha::Schema::Result::IdentityProviderMapping", |
| 173 |
{ "foreign.identity_provider_id" => "self.identity_provider_id" }, |
| 174 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 175 |
); |
| 176 |
|
| 160 |
|
177 |
|
| 161 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-10 13:01:32 |
178 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-21 07:16:46 |
| 162 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xSD/bRC3hJCF+nP/EYwn3Q |
179 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4T1F2ggwQdvVV7jskMZwig |
| 163 |
|
180 |
|
| 164 |
__PACKAGE__->has_many( |
181 |
__PACKAGE__->has_many( |
| 165 |
"domains", |
182 |
"domains", |