Newer Version Available

This content describes an older version of this product. View Latest

LoyaltyClient

Create authentication network requests by using the LoyaltyClient class. LoyaltyClient uses ForceAuthenticator, which is an interface that defines the methods to handle access tokens in the Salesforce API. LoyaltyClient creates a retrofit instance to invoke Force APIs.
Available in: all editions that have Loyalty Management enabled

Use this signature to define the LoyaltyClient class.

getNetworkClient Method

Gives an implementation of the retrofit interface using an instance of retrofit.