InitiateOAuth Parameter (Connect-LinkedIn Cmdlet)
Set this property to initiate the process to obtain or refresh the OAuth access token when you connect.
Connect-LinkedIn -InitiateOAuth string
Possible ValuesOFF, GETANDREFRESH
The following options are available:
- OFF: Indicates that the OAuth flow will be handled entirely by the user. An OAuthAccessToken will be required to authenticate.
- GETANDREFRESH: Indicates that the entire OAuth Flow will be handled by the cmdlet. If no token currently exists, it will be obtained by prompting the user via the browser. If a token exists, it will be refreshed when applicable.