Skip to content

Use ConfidentialClientApplicationBuilder.CreateWithOptions() #51

@jmprieur

Description

@jmprieur

The sample instanciates the IConfidentialClientApplication by reading the options and then setting them with .With methods.

The code could be even simpler by using `ConfidentialClientApplicationBuilder.CreateWithOptions()
An example is available from https://github.com/Azure-Samples/active-directory-dotnet-iwa-v2/blob/1440daf07be2c1f46a2d2c5719478c7d555e69d0/iwa-console/Program.cs#L57-L60 or https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/blob/b0bfe0d8281945435d4b499d0a47ac5a6d8203a7/daemon-console/Program.cs#L62-L78

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions