Smart.Framework Logo

final class \SmartModExtLib\AuthAdmins\SimpleAuthAdminsHandler
{ } ::

Simple Auth Admins Handler
This class provide a very simple authentication for admin area (admin.php|task.php) using a single account with username/password set in config-admin.php
Supports: HTTP Basic Auth ; HTTP Bear Auth (SWT) *optional*
Required constants: APP_AUTH_ADMIN_USERNAME, APP_AUTH_ADMIN_PASSWORD and *optional* the APP_AUTH_ADMIN_ENCRYPTED_PRIVKEY ; they must be set in set in config-admin.php
Optional constants: APP_AUTH_PRIVILEGES (set in set in config-admin.php)


class Methods

public static function Authenticate ( bool $enforce_https = false, bool $disable_tokens = false ) {} :: 

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:52 +0000


Smart.Framework © 2009-2023 unix-world.org