action_index()
action_login()
action_logout()
action_register()
action_send_validation_request()
action_verify()
action_wall()
before()
login_view()
registration_view()
verification_pending_view()
wall_view()
build_profile_fields()
Baseline for implementing an authentication controller in your application using InfusedAuth.
You must create a controller that extends this controller such class Controller_Auth extends \InfusedAuth\Controller_InfusedAuth Usage: You can use the built in view scaffolding by default or create your views and link actions as follows: 3rd party login = /session/provider //see NinjAuth for more details properitery login = just post back to same script. you can override posthandler_login and posthandler_register to customize forgot password = /reset_password resend validation = /send_validation - requires post values of username which is username_or_email and password Customizing Validation coming soon... TODO: Add validation customization info
action_index()
action_login()
action_logout()
action_register()
action_send_validation_request()
action_verify($code1, $code2)
action_wall()
before()
login_view(\InfusedAuth\$data $data) : mixed
\InfusedAuth\$data
View data. Recommend you add data to this vs. overwrite.
mixed
registration_view(\InfusedAuth\$data $data) : mixed
\InfusedAuth\$data
View data. Recommend you add data to this vs. overwrite.
mixed
verification_pending_view($data)
wall_view($data)
build_profile_fields(\InfusedAuth\$all_fields $all_fields, \InfusedAuth\$profile_fields $profile_fields) : \InfusedAuth\$profile
\InfusedAuth\$all_fields
This is the Input::post() values for the submitted registration form
\InfusedAuth\$profile_fields
This ist he configuration value that identifies which fields to include in the profile
\InfusedAuth\$profile
Array of fields.