DotLibrary
[ class tree: DotLibrary ] [ index: DotLibrary ] [ all elements ]

Class: Dot_Auth

Source Location: /library/Dot/Auth.php

Class Overview


Authorize user methods, used in all DotKernel Applications


Author(s):

Methods



Class Details

[line 20]
Authorize user methods, used in all DotKernel Applications

Authorize user methods, used in all DotKernel Applications




Tags:

author:  DotKernel Team <team@dotkernel.com>


[ Top ]


Class Methods


static method checkIdentity [line 30]

static bool checkIdentity( [ $who = 'user'])

Check permission to a certain page/content

Check permission to a certain page/content Set wanted url if user is not logged




Tags:

todo:  extension to check user level
access:  public


Parameters:

   $who  

[ Top ]

static method clearIdentity [line 119]

static void clearIdentity( [string $who = 'user'])

Clear the identity - log out

Clear the identity - log out




Tags:

access:  public


Parameters:

string   $who   [optional]

[ Top ]

static method getIdentity [line 103]

static object getIdentity( [string $who = 'user'])

Return identity of $who

Return identity of $who




Tags:

access:  public


Parameters:

string   $who   [optional]

[ Top ]

static method hasIdentity [line 78]

static bool hasIdentity( [string $who = 'user'])

Check to see if identity exists - is log in

Check to see if identity exists - is log in




Tags:

access:  public


Parameters:

string   $who   [optional]

[ Top ]

static method reguireLogin [line 87]

static void reguireLogin( $who)



Tags:

access:  public


Parameters:

   $who  

[ Top ]


Documentation generated on Wed, 21 Jul 2010 07:34:38 +0000 by phpDocumentor 1.4.3