Source for file Identity.php
Documentation is available at Identity.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: */
- 28: /**
- 29: * Default implementation of IIdentity.
- 30: *
- 34: *
- 38: */
- 40: {
- 51: /**
- 55: */
- 57: {
- 61: }
- 65: /**
- 66: * Sets the name of user.
- 69: */
- 71: {
- 75: }
- 79: /**
- 80: * Returns the name of user.
- 82: */
- 84: {
- 86: }
- 90: /**
- 91: * Sets a list of roles that the user is a member of.
- 94: */
- 96: {
- 100: }
- 104: /**
- 105: * Returns a list of roles that the user is a member of.
- 107: */
- 109: {
- 111: }
- 115: /**
- 116: * Returns a user data.
- 118: */
- 120: {
- 122: }
- 126: /**
- 127: * Sets user data value.
- 131: */
- 133: {
- 140: }
- 141: }
- 145: /**
- 146: * Returns user data value.
- 149: */
- 151: {
- 157: }
- 158: }
- 160: }