Source for file IUser.php
Documentation is available at IUser.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see http://nettephp.com
- 12: *
- 18: */
- 22: /**
- 23: * Authentication and authorization.
- 24: *
- 28: */
- 30: {
- 32: /**
- 33: * Conducts the authentication process.
- 39: */
- 42: /**
- 43: * Logs off the user from the current session.
- 45: */
- 48: /**
- 49: * Is this user authenticated?
- 51: */
- 54: /**
- 55: * Returns current user identity, if any.
- 57: */
- 60: /**
- 61: * Sets authentication handler.
- 64: */
- 67: /**
- 68: * Returns authentication handler.
- 70: */
- 73: /**
- 74: * Changes namespace; allows more users to share a session.
- 77: */
- 80: /**
- 81: * Returns current namespace.
- 83: */
- 86: /**
- 87: * Returns a list of roles that a user has been granted.
- 89: */
- 92: /**
- 93: * Is a user in the specified role?
- 96: */
- 99: /**
- 100: * Has a user access to the Resource?
- 102: */
- 105: /**
- 106: * Sets authorization handler.
- 109: */
- 112: /**
- 113: * Returns current authorization handler.
- 115: */
- 118: }