namespace Drupal\Core\Session

Same name in other branches
  1. 10 Drupal\Core\Session
  2. 9 Drupal\Core\Session
  3. 8.9.x Drupal\Core\Session
Object name File name Summary
AccessPolicyBase core/lib/Drupal/Core/Session/AccessPolicyBase.php Base class for access policies.
AccessPolicyInterface core/lib/Drupal/Core/Session/AccessPolicyInterface.php Defines the access policy interface.
AccessPolicyProcessor core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Processes access policies into permissions for an account.
AccessPolicyProcessorInterface core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php Processes all added access policies until the full permissions are built.
AccessPolicyScopeException core/lib/Drupal/Core/Session/AccessPolicyScopeException.php An exception thrown when permissions are returned for the wrong scope.
AccountEvents core/lib/Drupal/Core/Session/AccountEvents.php Defines events for the account system.
AccountInterface core/lib/Drupal/Core/Session/AccountInterface.php Defines an account interface which represents the current user.
AccountProxy core/lib/Drupal/Core/Session/AccountProxy.php A proxied implementation of AccountInterface.
AccountProxyInterface core/lib/Drupal/Core/Session/AccountProxyInterface.php Defines an interface for a service which has the current account stored.
AccountSetEvent core/lib/Drupal/Core/Session/AccountSetEvent.php Event fired when an account is set for the current session.
AccountSwitcher core/lib/Drupal/Core/Session/AccountSwitcher.php An implementation of AccountSwitcherInterface.
AccountSwitcherInterface core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Defines an interface for a service for safe account switching.
AnonymousUserSession core/lib/Drupal/Core/Session/AnonymousUserSession.php An account implementation representing an anonymous user.
CalculatedPermissions core/lib/Drupal/Core/Session/CalculatedPermissions.php Represents a calculated set of permissions with cacheable metadata.
CalculatedPermissionsInterface core/lib/Drupal/Core/Session/CalculatedPermissionsInterface.php Defines the calculated permissions interface.
CalculatedPermissionsItem core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Represents a single entry for the calculated permissions.
CalculatedPermissionsItemInterface core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Defines the calculated permissions item interface.
CalculatedPermissionsTrait core/lib/Drupal/Core/Session/CalculatedPermissionsTrait.php Trait for \Drupal\Core\Session\CalculatedPermissionsInterface.
MetadataBag core/lib/Drupal/Core/Session/MetadataBag.php Provides a container for application specific session metadata.
PermissionChecker core/lib/Drupal/Core/Session/PermissionChecker.php Checks permissions for an account.
PermissionCheckerInterface core/lib/Drupal/Core/Session/PermissionCheckerInterface.php Defines a permission checker interface.
PermissionsHashGenerator core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates and caches the permissions hash for a user.
PermissionsHashGeneratorInterface core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Defines the user permissions hash generator interface.
RefinableCalculatedPermissions core/lib/Drupal/Core/Session/RefinableCalculatedPermissions.php Represents a calculated set of permissions with cacheable metadata.
RefinableCalculatedPermissionsInterface core/lib/Drupal/Core/Session/RefinableCalculatedPermissionsInterface.php Defines the refinable calculated permissions interface.
ResponseKeepSessionOpenInterface core/lib/Drupal/Core/Session/ResponseKeepSessionOpenInterface.php Indicates that sessions for this response should be kept open after sending.
SessionConfiguration core/lib/Drupal/Core/Session/SessionConfiguration.php Defines the default session configuration generator.
SessionConfigurationInterface core/lib/Drupal/Core/Session/SessionConfigurationInterface.php Defines an interface for session configuration generators.
SessionHandler core/lib/Drupal/Core/Session/SessionHandler.php Default session handler.
SessionManager core/lib/Drupal/Core/Session/SessionManager.php Manages user sessions.
SessionManagerInterface core/lib/Drupal/Core/Session/SessionManagerInterface.php Defines the session manager interface.
SuperUserAccessPolicy core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php Grants user 1 an all access pass.
UserRolesAccessPolicy core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Grants permissions based on a user's roles.
UserSession core/lib/Drupal/Core/Session/UserSession.php An implementation of the user account interface for the global user.
WriteSafeSessionHandler core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php Wraps the session handler to prevent writes when not necessary or allowed.
WriteSafeSessionHandlerInterface core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php Provides an interface for session handlers where writing can be disabled.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.