| |
17 |
17 |
# |
| |
18 |
18 |
##### |
| |
19 |
19 |
|
| |
20 |
20 |
|
| |
21 |
21 |
ad_proc -public auth::authority::create { |
| |
22 |
22 |
{-authority_id ""} |
| |
23 |
23 |
{-array:required} |
| |
24 |
24 |
} { |
| |
25 |
25 |
Create a new authentication authority. |
| |
26 |
26 |
|
| |
27 |
27 |
@option authority_id Authority_id, or blank if you want one generated for you. |
| |
28 |
28 |
|
| |
29 |
29 |
@param array Name of an array containing the column values. The entries are: |
| |
30 |
30 |
|
| |
31 |
31 |
<ul> |
| |
32 |
32 |
|
| |
33 |
33 |
<li> short_name Short name for authority. Used as a key by applications to identify this authority. |
| |
34 |
34 |
|
| |
35 |
35 |
<li> pretty_name Label for the authority to be shown in a list to users picking an authority. |
| |
36 |
36 |
|
| |
37 |
|
<li> enabled_p 't' if this authority available, 'f' if it's disabled. Defaults to 't'. |
| |
|
37 |
<li> enabled_p 't' if this authority available, 'f' if it's disabled. Defaults to 'f'. |
| |
38 |
38 |
|
| |
39 |
39 |
<li> sort_order Sort ordering determines the order in which authorities are listed in the user interface. |
| |
40 |
40 |
Defaults to the currently highest sort order plus one. |
| |
41 |
41 |
|
| |
42 |
42 |
<li> auth_impl_id The ID of the implementation of the 'auth_authentication' service contract. |
| |
43 |
43 |
Defaults to none. |
| |
44 |
44 |
|
| |
45 |
45 |
<li> pwd_impl_id The ID of the implementation of the 'auth_password' service contract. Defaults to none. |
| |
46 |
46 |
|
| |
47 |
47 |
<li> forgotten_pwd_url An alternative URL to redirect to when the user has forgotten his/her password. |
| |
48 |
48 |
Defaults to none. |
| |
49 |
49 |
|
| |
50 |
50 |
<li> change_pwd_url An alternative URL to redirect to when the user wants to change his/her password. |
| |
51 |
51 |
Defaults to none. |
| |
52 |
52 |
|
| |
53 |
53 |
<li> register_impl_id The ID of the implementation of the 'auth_registration' service contract. |
| |
54 |
54 |
Defaults to none. |
| |
55 |
55 |
|
| |
56 |
56 |
<li> register_url An alternative URL to redirect to when the user wants to register for an account. |
| |
57 |
57 |
Defaults to none. |