Get snap name of connection in interface hook

Hi, is it possible to receive the snap name, that tries to connect to a specific slot or plug in an interface hook as stated here: https://snapcraft.io/docs/interface-hooks.

From my understanding the name of the snap is not a classic attribute of an interface.

Use case: We would like to limit a interface connection to a specific snap and not allow other snaps to connect to this plug.

Thanks.