I've been trying to find in Microsoft documentation (learn.microsoft.com) format specifications for the ClientID, the ClientSecret and the TenantID in order to connect to SharePoint REST API v1.
I am simply trying to validate format with regex in C# for each of them. I would have expect Microsoft to provide at least an explanation for those in the documentation, but can't manage to find anything about it.
I don't need a specific regex for each or code examples, I simply need the format specifications.
As an example, something like :
CliendID : alphanumerical string of 12 characters separated by dashes -> xyz-xyz-yzx-xyz
CliendSecret : ...
TenantID : ...
Found this ticket online, but still inconclusive : https://learn.microsoft.com/en-us/answers/questions/263677/validating-client-and-tenant-id-using-regular-expr
Thanks a lot