diff --git a/src/@ionic-native/plugins/linkedin/index.ts b/src/@ionic-native/plugins/linkedin/index.ts index 24d5e1ea05..f60ecf831c 100644 --- a/src/@ionic-native/plugins/linkedin/index.ts +++ b/src/@ionic-native/plugins/linkedin/index.ts @@ -100,10 +100,17 @@ export class LinkedIn extends IonicNativePlugin { openProfile(memberId: string): Promise { return; } /** - * Checks if there is already an existing active session. This should be used to avoid unecessary login. + * Checks if there is already an existing active session. This should be used to avoid unnecessary login. * @return {Promise} returns a promise that resolves with a boolean that indicates whether there is an active session */ @Cordova() hasActiveSession(): Promise { return; } + /** + * Checks if there is an active session and returns the access token if it exists. + * @return {Promise} returns a promise that resolves with an object that contains an access token if there is an active session + */ + @Cordova() + getActiveSession(): Promise { return; } + }