Question about ConnectionGater

In ordet to limit the access to a relay host, I try to use the ConnectionGater to controller the access by a list of allowed peerIDs. But it seems that I could not get client peerID from ConnMultiaddrs.RemoteMutltiaddr while I complete the InterceptAccept function.

It seems that when a peerA try to connect peerB, if the PeerB ConnectionGater’s InterceptPeerDial return false, the connection between PeerA and PeerB will not be established. And the InterceptPeerDial can get the remote Peer’s peerID