Security Module
Security Functions & Variables
The Security Module features the following functions:
$.fn.blockstrap.security.logged_in()$.fn.blockstrap.security.login(username, password, callback)$.fn.blockstrap.security.logout()
security.logged_in() - back to top
This functio will return a boolean value based upon whether the current user is logged-in or not.
security.login(username, password, callback) - back to top
This function will attempt to log-in the current user based on the provided username and password andwill perform the provded callback function if successful.
security.logout() - back to top
This functon will log-out the current user and then reload the page.
- Related Articles
- Back to Modules
- Accounts
- API
- Buttons
- Contacts
- Blockchains
- Data
- Filters
- Forms
- Security
- Styles
- Templates
- Table of Contents