Sage Intacct SDK for PHP
ProfileCredentialProvider Class Reference

Static Public Member Functions

static getLoginCredentials (ClientConfig $config)
 
static getSenderCredentials (ClientConfig $config)
 
static getHomeDirProfile ()
 

Data Fields

const DEFAULT_PROFILE_FILE = '/.intacct/credentials.ini'
 
const DEFAULT_PROFILE_NAME = 'default'
 

Member Function Documentation

◆ getHomeDirProfile()

static getHomeDirProfile ( )
static

Get home directory containing profile file

Returns
string

◆ getLoginCredentials()

static getLoginCredentials ( ClientConfig  $config)
static
Parameters
ClientConfig$config
Returns
ClientConfig

◆ getSenderCredentials()

static getSenderCredentials ( ClientConfig  $config)
static
Parameters
ClientConfig$config
Returns
ClientConfig

Field Documentation

◆ DEFAULT_PROFILE_FILE

const DEFAULT_PROFILE_FILE = '/.intacct/credentials.ini'

◆ DEFAULT_PROFILE_NAME

const DEFAULT_PROFILE_NAME = 'default'