Click or drag to resize

AzureADSettingsGetGraphClient Method

Gets a new Graph service client.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.205-beta
Syntax
public GraphServiceClient GetGraphClient(
	string settingsCategory = null,
	bool forceRefresh = false
)
View Source

Parameters

settingsCategory  String  (Optional)
Settings category to use for determine configuration location.
forceRefresh  Boolean  (Optional)
Set to true to force refresh of Azure AD token.

Return Value

GraphServiceClient
New Graph service client when Azure AD is enabled; otherwise, null.
See Also