What is the process of token validation?

Hello,

I have dug through the documentation to get this information, but I could not find anything.

So, I have this question: what are the validation steps done by Gitlab when a request is done with an access token?
Particularly, when users are in a LDAP, is a validation done on the account? If yes, what kind of validation?

The use case we have, is that we want an automated test to check that connection between Gitlab and LDAP is fine. To do that we do a basic GET on an API with a token, but I doubt this is meaningful, as I’m not sure that LDAP is checked when using a token.

Thanks for any light on this!