Authentication Methods
These methods assist a developer in getting insight into the authentication framework.
Last updated
Was this helpful?
These methods assist a developer in getting insight into the authentication framework.
You can leverage the CBSecurity model to get insight into some aspects of the authentication process or do authentication via the configured authentication service if needed.
getAuthService() - Get access to the configured authentication service
getUserService() - Get access to the configured user service
authenticate( username, password ) - Authenticate a request
getUser() - Get the authenticated user of the current request
guest() - Verify if the users is NOT logged in, but a guest
isLoggedIn() - Verify if the current request has authenticated
logout() - Logout the authenticated user
Last updated
Was this helpful?
Was this helpful?