# LibTmux::Session::identity

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/Entity.pm#L13
- **Inherited from:** LibTmux::Entity
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-session-identity/

```
sub identity($self)
```

Return an opaque identity key scoped by server, generation, kind, and string ID. It is suitable for local equality; duplicate selection occurrences remain separate occurrences.

## Methods
