1 package com.atlassian.sal.api.auth;
2
3 import javax.servlet.ServletRequest;
4
5 public interface OAuthRequestVerifierFactory {
6 /**
7 * Gets an instance of an {@link OAuthRequestVerifier} object that records whether or not the request that is currently
8 * being processed has been successfully processed by the OAuth filter.
9 *
10 * The default implementation of this in SAL ignores the ServletRequest that is passed in and stores and retrieves
11 * the value from a thread local.
12 */
13 OAuthRequestVerifier getInstance(ServletRequest request);
14 }