Htpasswd_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# __construct( )
{{{ void __construct(void)

ignore


Overrides

public
# is_protected( $host , $path = '/' )
public
# protect_location( $host , $path = '/', $realm = 'Restricted Area', $type = 'digest' )
public
# get_locations( $host )
public
# delete_location( $host , $path )
public
# edit_location( $host , $path , $opts )
public
# location_info( $host , $path )
public
# user_exists( $host , $user )
public
# add_user( $host , $user , $passwd = NULL )
public
# delete_user( $host , $user )
public
# get_users( $host )
public
# get_groups( $host )
public
# change_password( $host , $user )
public
# create_group( $host , $group , $users = array ( ) )
public
# user_in_group( $host , $user , $group )
public
# remove_user_group( $host , $user , $group )
public
# add_user_group( $host , $user , $group )
public
# delete_group( $host , $group )
public
# deauthorize_role( $host , $role )
public
# authorize_role( $host , $role )
public
# is_authorized( $host , $role , $path = '/' )
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public string HTPASSWD_DIR
# '/var/www/.htfiles'
public string DEF_REALM_NAME
# 'Restricted Area'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql