Package net.openid.appauth.browser
Class ExactBrowserMatcher
- java.lang.Object
-
- net.openid.appauth.browser.ExactBrowserMatcher
-
- All Implemented Interfaces:
BrowserMatcher
public class ExactBrowserMatcher extends Object implements BrowserMatcher
Matches only the specified browser.
-
-
Constructor Summary
Constructors Constructor Description ExactBrowserMatcher(BrowserDescriptor browser)
Creates a browser matcher that will only match the specified browser.
-
-
-
Constructor Detail
-
ExactBrowserMatcher
public ExactBrowserMatcher(BrowserDescriptor browser)
Creates a browser matcher that will only match the specified browser.
-
-
Method Detail
-
matches
public boolean matches(@NonNull BrowserDescriptor descriptor)
- Specified by:
matches
in interfaceBrowserMatcher
- Returns:
- true if the browser matches some set of criteria.
-
-