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 https://nette.org
- 12: *
- 19: */
- 23: /**
- 24: * Authentication and authorization.
- 25: *
- 29: */
- 31: {
- 33: /**
- 34: * Conducts the authentication process.
- 40: */
- 43: /**
- 44: * Logs off the user from the current session.
- 46: */
- 49: /**
- 50: * Is this user authenticated?
- 52: */
- 55: /**
- 56: * Returns current user identity, if any.
- 58: */
- 61: /**
- 62: * Sets authentication handler.
- 65: */
- 68: /**
- 69: * Returns authentication handler.
- 71: */
- 74: /**
- 75: * Changes namespace; allows more users to share a session.
- 78: */
- 81: /**
- 82: * Returns current namespace.
- 84: */
- 87: /**
- 88: * Returns a list of roles that a user has been granted.
- 90: */
- 93: /**
- 94: * Is a user in the specified role?
- 97: */
- 100: /**
- 101: * Has a user access to the Resource?
- 103: */
- 106: /**
- 107: * Sets authorization handler.
- 110: */
- 113: /**
- 114: * Returns current authorization handler.
- 116: */
- 119: }