mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
feat(firebase-authentication) add getCurrentUser() definitio (#3701)
This commit is contained in:
parent
93b1e11898
commit
f852dd9510
@ -34,6 +34,17 @@ import { Observable } from 'rxjs';
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class FirebaseAuthentication extends IonicNativePlugin {
|
export class FirebaseAuthentication extends IonicNativePlugin {
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the current user logged in Firebase service
|
||||||
|
* @return {Promise<any>} Returns the user info
|
||||||
|
*/
|
||||||
|
@Cordova({ sync: true })
|
||||||
|
getCurrentUser(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a JWT token used to identify the user to a Firebase service.
|
* Returns a JWT token used to identify the user to a Firebase service.
|
||||||
* @param forceRefresh {boolean} Force Refresh
|
* @param forceRefresh {boolean} Force Refresh
|
||||||
|
Loading…
Reference in New Issue
Block a user