These functions could be exposed to facilitate scripting.
For instance, the user could specify the resource and the clientID with Get-AADIntAccessToken -Resource "https://graph.microsoft.com" -ClientId "d3590ed6-52b3-4102-aeff-aad2292ab01c" to use the official Microsoft Office client to get an access token for MS Graph, with the permissions Mail.ReadWrite, Files.ReadWrite.All and Group.ReadWrite.All.
These functions could be exposed to facilitate scripting. For instance, the user could specify the resource and the clientID with Get-AADIntAccessToken -Resource "https://graph.microsoft.com" -ClientId "d3590ed6-52b3-4102-aeff-aad2292ab01c" to use the official Microsoft Office client to get an access token for MS Graph, with the permissions Mail.ReadWrite, Files.ReadWrite.All and Group.ReadWrite.All.