View Javadoc

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