feat(cli): add stdin table command and pretty rendering option
This commit is contained in:
@@ -8,7 +8,7 @@ import { Client } from "@microsoft/microsoft-graph-client";
|
||||
* @param { Object } options - Options for authentication
|
||||
* @param { string } options.tenantId - The Azure AD tenant ID
|
||||
* @param { string } options.clientId - The Azure AD client ID
|
||||
* @returns { Object } An object containing the Graph API token and client
|
||||
* @returns { Promise<{ graphApiToken: Object, client: Object }> } An object containing the Graph API token and client
|
||||
*/
|
||||
export async function getGraphClient({ tenantId, clientId }) {
|
||||
const graphApiToken = await loginInteractive({
|
||||
|
||||
Reference in New Issue
Block a user