-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
Have you ever considered allowing the GraphServiceClient to be passed in, as opposed to instantiating it automatically in the constructor of GraphSender? I already use Graph for other things via an IConfidentialClientApplication to manage the auth token for the GraphServiceClient, so I basically keep an authenticated client ready to go as needed. It'd be nice to just add the extra scope and reference it instead of having a separate client spun up. Then I also wouldn't have references to the tenantid/clientid/clientsecret in two places. Maybe allow it to be passed in, but still default it or something? Just curious as to your thoughts. Thanks-
Metadata
Metadata
Assignees
Labels
No labels