Package com.enonic.xp.session

## Interface Session

- All Superinterfaces:
    `MutableAttributes`, `ScopeAttributes`
  All Known Implementing Classes:
    `SessionMock`, `SimpleSession`

      @PublicApi
      public interface Session
      extends MutableAttributes

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SessionKey` | `getKey()` |
    `void` | `invalidate()` |

    - ### Methods inherited from interface com.enonic.xp.context.MutableAttributes

      `removeAttribute, removeAttribute, setAttribute, setAttribute`

    - ### Methods inherited from interface com.enonic.xp.context.ScopeAttributes

      `getAttribute, getAttribute, getAttributes`

- - ### Method Detail

    - #### getKey

          SessionKey getKey()

    - #### invalidate

          void invalidate()