Class federated_logon
Methods summary
public
|
|
public
|
|
public
|
#
handleOption( $option, $currentValue )
Handles the custom option $option
Handles the custom option $option
Parameters
|
public static
|
#
css( )
Load the CSS for the logon buttons
Load the CSS for the logon buttons
|
public static
|
#
alt_login_handler( $handler_list )
Provides a list of alternate handlers for logon
Provides a list of alternate handlers for logon
Parameters
|
public static
|
#
credentials( $user, $email, $name, $redirect )
Common logon handler.
Will log the user on if he exists. Otherwise it will create a user accoung and log
on that account.
Common logon handler.
Will log the user on if he exists. Otherwise it will create a user accoung and log
on that account.
Redirects into Zenphoto on success presuming there is a redirect link.
Parameters
- $user
- $email
- $name
- $redirect
|
public static
|
#
save_custom( $updated, $userobj, $i, $alter )
Check if an e-mail address has been provided
Check if an e-mail address has been provided
Parameters
- $updated
- $userobj
- $i
- $alter
|
public static
|
#
edit_admin( $html, $userobj, $i, $background, $current, $local_alterrights )
Enter Admin user tab handler
Enter Admin user tab handler
Parameters
- $html
- $userobj
- $i
- $background
- $current
- $local_alterrights
|
public static
string
|
#
verify( string $script )
Processes the verification POST tickets
Processes the verification POST tickets
Parameters
- $script
- (we do not use this)
Returns
string
|
public static
|
#
buttons( $redirect = NULL )
Creates a list of logon buttons for federated logon handlers.
Note that it will use an image if one exists. The name of the image
should be cononical to the name of the logon handler, but without the "_logon'.
The image must be a PNG file.
Creates a list of logon buttons for federated logon handlers.
Note that it will use an image if one exists. The name of the image
should be cononical to the name of the logon handler, but without the "_logon'.
The image must be a PNG file.
The styling of the buttons is done by the "federated_logon_buttons.css". If you do not like the
one provided place an alternate version in your theme folder or the plugins/federated_logon
folder.
|