REM ### Move a copy of msal_token_cache.bin to the .azure home directory
copy %HOMEPATH%\Documents\msal_token_cache.bin %HOMEPATH%\.azure /y
REM ### RUN az commands here
az account get-access-token
REM ### delete the default msal_token_cache.bin
del %HOMEPATH%\.azure\msal_token_cache.bin
Use the auth commands to authorize a Salesforce org for use with the Salesforce CLI.
Command | Purpose |
---|---|
auth:jwt:grant | Authorizes a Salesforce org using the JWT flow. |
auth:logout | Logs you out from one or all of your authorized Salesforce orgs. |
auth:sfdxurl:store | Authorizes a Salesforce org using an SFDX auth URL. |
auth:web:login | Authorizes a Salesforce org by opening a browser so you can log in through salesforce.com. |
Trigger Handler based on Chris Aldridge's Lightweight Apex Trigger Framework
See Chris' original blog post: Lightweight Apex Trigger Framework
Simple trigger framework for bulkifying triggers and allowing for the encapsulation of complex logic.