Home
About
Testimonials
Demos
Download
Documentation
Blogs
Forum
Support
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Security
Inheritance:
TComponent
»
TApplicationComponent
»
TModule
»
TAuthManager
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
AllowAutoLogin
boolean
whether to allow remembering login so that the user logs on automatically next time.
R
Application
TApplication
current application instance. (inherited from
TApplicationComponent
)
ID
string
id of this module. (inherited from
TModule
)
LoginPage
string
path of login page should login is required.
R
Request
THttpRequest
the current user request. (inherited from
TApplicationComponent
)
R
Response
THttpResponse
the response. (inherited from
TApplicationComponent
)
ReturnUrl
string
URL that the browser should be redirected to when login succeeds.
ReturnUrlVarName
string
the name of the session variable storing return URL.
R
Service
IService
the current service. (inherited from
TApplicationComponent
)
R
Session
THttpSession
user session. (inherited from
TApplicationComponent
)
R
User
IUser
information about the current user. (inherited from
TApplicationComponent
)
R
UserKey
string
a unique variable name for storing user session/cookie data @since 3.
UserManager
IUserManager
user manager instance.
Events
Name
Description
OnAuthenticate
Performs the real authentication work.
OnAuthorize
Performs the real authorization work.
Methods
Name
Description
addParsedObject
Processes an object that is created during parsing template. (inherited from
TComponent
)
attachEventHandler
Attaches an event handler to an event. (inherited from
TComponent
)
canGetProperty
Determines whether a property can be read. (inherited from
TComponent
)
canSetProperty
Determines whether a property can be set. (inherited from
TComponent
)
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
doAuthentication
Performs authentication.
doAuthorization
Performs authorization.
evaluateExpression
Evaluates a PHP expression in the context of this control. (inherited from
TComponent
)
evaluateStatements
Evaluates a list of PHP statements. (inherited from
TComponent
)
P
generateUserKey
a key used to store user information in session @since 3.
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
hasEvent
Determines whether an event is defined. (inherited from
TComponent
)
hasEventHandler
whether an event has been attached one or several handlers. (inherited from
TComponent
)
hasProperty
Determines whether a property is defined. (inherited from
TComponent
)
init
Initializes this module.
leave
Performs login redirect if authorization fails.
login
Logs in a user with username and password.
logout
Logs out a user.
publishAsset
Publishes a private asset and gets its URL. (inherited from
TApplicationComponent
)
publishFilePath
Publishes a file or directory and returns its URL. (inherited from
TApplicationComponent
)
raiseEvent
Raises an event. (inherited from
TComponent
)
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
switchUser
Switches to a new user.
updateSessionUser
Updates the user data stored in session.
Derived classes
Hosting web
|
Online Dating
|
Mobile Phone
|
Free eBooks Download
|
Cheap Car Insurance