Merge branch 'maint/7.0'
[ninja.git] / xdoc / auth.dot
blob57f1cff9f9a01fd269221b6e60ae4bd636ba8d35
1 digraph FlowChart {
3 graph [ nodesep=0 ]
5 node [
6 fontname = "Bitstream Vera Sans"
7 fontsize = 8
10 edge [
11 fontname = "Bitstream Vera Sans"
12 fontsize = 8
13 fontcolor = "Red"
16 start [label="<form> submitted"]
17 gui [label="Default_Controller::do_login()"]
18 login [label="ninja_auth_Core::login_user()"]
20 // special nodes
21 config_driver [label="$config['driver'] in application/config/auth.php"]
22 default [label="No, default to ..."]
23 ninja_valid_password [label="ninja_auth_Core::valid_password()"]
24 apache_login [label="$config['apache_login']"]
25 ldap_details [label="call ldap_* functions"]
26 logged_in [label="Kohana::config('routes.logged_in_default')"]
28 // relations
29 start -> gui
30 gui -> login
31 login -> config_driver
32 config_driver -> default [style=dotted]
33 config_driver -> "Ninja.php" [label="modules/auth/libraries/drivers/Auth/Ninja.php"]
34 config_driver -> "apache.php" [label="modules/..."]
35 config_driver -> "LDAP.php" [label="modules/..."]
36 default -> "Ninja.php"
37 "apache.php" -> apache_login [label="redirect to.."]
38 "LDAP.php" -> ldap_details
39 "Ninja.php" -> ninja_valid_password [label="driver::login($username, $password)"]
41 apache_login -> black_magic -> logged_in [label="redirects to path found in..."]
42 ninja_valid_password -> logged_in [label="redirects to path found in..."]
43 ldap_details -> logged_in [label="redirects to path found in..."]