public class AuthBrowsers
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static AuthBrowser |
CHROME_CUSTOM_TAB
This targets at least version 45 of a Google Chrome browser for use as a custom tab.
|
static AuthBrowser |
CHROME_DEFAULT
This targets any version of a Google Chrome browser for use as a standalone browser.
|
static AuthBrowser |
FIREFOX_DEFAULT
This targets any version of a Mozilla Firefox browser for use as a standalone browser.
|
static AuthBrowser |
SAMSUNG_CUSTOM_TAB
This targets any version of a Samsung browser for use as a custom tab.
|
static AuthBrowser |
SAMSUNG_DEFAULT
This targets any version of a Samsung browser for use as a standalone browser.
|
| Constructor and Description |
|---|
AuthBrowsers() |
| Modifier and Type | Method and Description |
|---|---|
static AuthBrowser |
chrome(boolean useCustomTab,
AuthBrowserVersionRange versionRange)
This targets the version range specified of a Google Chrome browser for use as the custom tab
mode specified.
|
static AuthBrowser |
firefox(boolean useCustomTab,
AuthBrowserVersionRange versionRange)
This targets the version range specified of a Mozilla Firefox browser for use as the custom
tab mode specified.
|
static AuthBrowser |
samsung(boolean useCustomTab,
AuthBrowserVersionRange versionRange)
This targets the version range specified of a Samsung browser for use as the custom tab mode
specified.
|
public static final AuthBrowser CHROME_DEFAULT
public static final AuthBrowser CHROME_CUSTOM_TAB
public static final AuthBrowser FIREFOX_DEFAULT
public static final AuthBrowser SAMSUNG_DEFAULT
public static final AuthBrowser SAMSUNG_CUSTOM_TAB
public static final AuthBrowser chrome(boolean useCustomTab, AuthBrowserVersionRange versionRange)
useCustomTab - true to be used as a custom tab browserversionRange - the version range the browser should beAuthBrowserpublic static final AuthBrowser firefox(boolean useCustomTab, AuthBrowserVersionRange versionRange)
useCustomTab - true to be used as a custom tab browserversionRange - the version range the browser should beAuthBrowserpublic static AuthBrowser samsung(boolean useCustomTab, AuthBrowserVersionRange versionRange)
useCustomTab - true to be used as a custom tab browserversionRange - the version range the browser should beAuthBrowser