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