Context:
User token has a refresh token filled in 'ms_graph_tokens' table.
Application token doesn't have refresh token in 'ms_graph_tokens' table.
Probleme:
if an 'Application token' is created in the 'ms_graph_tokens' table and If the $id in the function getTokenData is egal to 'null' the MsGraphToken model returned is the 'Application token'. This is not correct
Context: User token has a refresh token filled in 'ms_graph_tokens' table. Application token doesn't have refresh token in 'ms_graph_tokens' table.
Probleme: if an 'Application token' is created in the 'ms_graph_tokens' table and If the $id in the function getTokenData is egal to 'null' the MsGraphToken model returned is the 'Application token'. This is not correct