mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 09:01:07 +08:00
parent
277b2b15e6
commit
4c8deb2bed
@ -100,10 +100,17 @@ export class LinkedIn extends IonicNativePlugin {
|
|||||||
openProfile(memberId: string): Promise<any> { return; }
|
openProfile(memberId: string): Promise<any> { 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<boolean>} returns a promise that resolves with a boolean that indicates whether there is an active session
|
* @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates whether there is an active session
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
hasActiveSession(): Promise<boolean> { return; }
|
hasActiveSession(): Promise<boolean> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if there is an active session and returns the access token if it exists.
|
||||||
|
* @return {Promise<any>} returns a promise that resolves with an object that contains an access token if there is an active session
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
getActiveSession(): Promise<any> { return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user