Function: credentialSource()
credentialSource(
file,options?): () =>Promise<Credentials>
Defined in: src/auth/credentials.ts:111
Reads credentials.json on every call, so a login made while the MCP server runs is picked up
without a restart. An expired token is refreshed when a refresh token and the app are at hand;
otherwise it throws LinkedInAuthError, asking for a new login.
Parameters
file
string
options?
CredentialSourceOptions = {}
Returns
() => Promise<Credentials>