SystemBrowserOptions Class
- java.
lang. Object - com.
microsoft. aad. msal4j. SystemBrowserOptions
- com.
public class SystemBrowserOptions
Options for using the default OS browser as a separate process to handle interactive authentication. MSAL will listen for the OS browser to finish authenticating, but it cannot close the browser. It can however response with a HTTP 200 OK message or a 302 Redirect, which can be configured here. For more details, see https://aka.ms/msal4j-interactive-request
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.net.URI | browserRedirectError() |
| java.net.URI | browserRedirectSuccess() |
|
static
System |
builder()
Builder for SystemBrowserOptions |
| java.lang.String | htmlMessageError() |
| java.lang.String | htmlMessageSuccess() |
|
Open |
openBrowserAction() |
Methods inherited from java.lang.Object
Method Details
browserRedirectError
public URI browserRedirectError()
browserRedirectSuccess
public URI browserRedirectSuccess()
builder
public static SystemBrowserOptions.SystemBrowserOptionsBuilder builder()
Builder for SystemBrowserOptions
htmlMessageError
public String htmlMessageError()
htmlMessageSuccess
public String htmlMessageSuccess()
openBrowserAction
public OpenBrowserAction openBrowserAction()