-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
BrokerFor issues related to the msal4j-brokers packageFor issues related to the msal4j-brokers packagepublic-clientFor questions/issues related to public client appsFor questions/issues related to public client apps
Description
MSAL client type
Public
Problem Statement
https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/wam
Current API
MsalRuntimeBroker broker = new MsalRuntimeBroker();
PublicClientApplication pca = PublicClientApplication.builder(clientId).
authority(authority).
broker(broker).
build();Proposed API
// at least 1 OS must be enabled, otherwise throw ex
// if Mac or Linux are enabled, throw NotImplementedException
Broker broker = Broker.builder().
.windowsSupport(true)
.macOSSupport(true)
.linuxSupport(true)
.build();
PublicClientApplication pca = PublicClientApplication.builder(clientId).
authority(authority).
broker(broker).
build();Thoughts on the above @localden and @Avery-Dunn ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BrokerFor issues related to the msal4j-brokers packageFor issues related to the msal4j-brokers packagepublic-clientFor questions/issues related to public client appsFor questions/issues related to public client apps
Type
Projects
Status
No status