public class MauticApi
extends java.lang.Object
OAuthService
instance, that will implement the
authentication protocol used to connect to the Mautic endpoints.Constructor and Description |
---|
MauticApi(OAuthService oauthService)
Creates a new MauticApi object.
|
Modifier and Type | Method and Description |
---|---|
ListContactsResult |
listContacts() |
ListContactsResult |
listContacts(Search search) |
public MauticApi(OAuthService oauthService)
OAuthService
interface to authenticate in the
Mautic instance and make requests.oauthService
- an instance of an OAuthService
public ListContactsResult listContacts() throws MauticException
MauticException
public ListContactsResult listContacts(Search search) throws MauticException
MauticException