PublicClientApplication.Builder Class
- java.
lang. Object - com.
microsoft. aad. msal4j. AbstractApplicationBase. Builder<T> - com.
microsoft. aad. msal4j. AbstractClientApplicationBase. Builder<T> - com.
microsoft. aad. msal4j. PublicClientApplication. Builder
- com.
- com.
- com.
public static class PublicClientApplication.Builder
extends Builder<Builder>
Modifier and Type | Method and Description |
---|---|
Builder |
broker(IBroker val)
Implementation of IBroker that will be used to retrieve tokens |
Public |
build() |
protected Builder | self() |
Methods inherited from Builder
broker
public PublicClientApplication.Builder broker(IBroker val)
Implementation of IBroker that will be used to retrieve tokens
Setting this will cause MSAL Java to use the given broker implementation to retrieve tokens from a broker (such as WAM/MSALRuntime) in flows that support it
Parameters:
build
public PublicClientApplication build()
self
protected PublicClientApplication.Builder self()