EFL
EflClient

getAuthToken

Retrieves an authentication token for a given partner id using the ApiKey security scheme.

getAuthToken() is the entry point for obtaining a Bearer token that will be used in subsequent calls to the EFL Leasing Online API. It wraps the low-level ProcessApiClient::getToken() call and returns the token as a simple string.

All methods on EflClient may throw:

Handle these exceptions at your application boundary.

Method signature

public function getAuthToken(string $partnerId): string

Parameters

NameTypeRequiredDescription
partnerIdstringYesPartner identifier assigned by EFL.

Return value

  • Type: string – token string to be used as a Bearer token in subsequent API calls.