Package net.openid.appauth.browser
Class Browsers.Chrome
- java.lang.Object
-
- net.openid.appauth.browser.Browsers.Chrome
-
- Enclosing class:
- Browsers
public static final class Browsers.Chrome extends Object
Constants related to Google Chrome.
-
-
Field Summary
Fields Modifier and Type Field Description static DelimitedVersionMINIMUM_VERSION_FOR_CUSTOM_TABThe version in which Custom Tabs were introduced in Chrome.static StringPACKAGE_NAMEThe package name for Chrome.static StringSIGNATUREThe SHA-512 hash (Base64 url-safe encoded) of the public key for Chrome.static Set<String>SIGNATURE_SETThe set of signature hashes for Chrome.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrowserDescriptorcustomTab(String version)Creates a browser descriptor for the specified version of Chrome, when used as a custom tab.static BrowserDescriptorstandaloneBrowser(String version)Creates a browser descriptor for the specified version of Chrome, when used as a standalone browser.
-
-
-
Field Detail
-
PACKAGE_NAME
public static final String PACKAGE_NAME
The package name for Chrome.- See Also:
- Constant Field Values
-
SIGNATURE
public static final String SIGNATURE
The SHA-512 hash (Base64 url-safe encoded) of the public key for Chrome.- See Also:
- Constant Field Values
-
SIGNATURE_SET
public static final Set<String> SIGNATURE_SET
The set of signature hashes for Chrome.
-
MINIMUM_VERSION_FOR_CUSTOM_TAB
public static final DelimitedVersion MINIMUM_VERSION_FOR_CUSTOM_TAB
The version in which Custom Tabs were introduced in Chrome.
-
-
Method Detail
-
standaloneBrowser
public static BrowserDescriptor standaloneBrowser(@NonNull String version)
Creates a browser descriptor for the specified version of Chrome, when used as a standalone browser.
-
customTab
public static BrowserDescriptor customTab(@NonNull String version)
Creates a browser descriptor for the specified version of Chrome, when used as a custom tab.
-
-