Interface Authenticator

All Known Implementing Classes:
BearerTokenAuthenticator

public interface Authenticator
Represents a request authentication mechanism.
  • Method Details

    • authenticate

      StripeRequest authenticate(StripeRequest request) throws StripeException
      * Authenticate the request
      Parameters:
      request - the request that need authentication.
      Returns:
      the request with authentication headers applied.
      Throws:
      StripeException - on authentication errors.