GstRtspServer GstRTSPAuth - How to get authentication result

Hello,

So I’m using GstRtspServer in my application and using GstRtspAuth for authentication.
I’m using digest mode and setting the credentials when instanciating the GstRtspAuth object.
Now, I wanna be able to understand if the authentication is ok or not for my application to collect those metrics.
Is there any way to do it besides doing the authentication myself with do_authenticate ?
Thanks in advance