Skip to content

Commit

Permalink
feat(firebase-authentication): add signInWithApple method (#3597)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanferca authored Jan 23, 2021
1 parent 3e92f64 commit e7bc1b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/@ionic-native/plugins/firebase-authentication/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,16 @@ export class FirebaseAuthentication extends IonicNativePlugin {
return;
}

/**
* Uses Apples's idToken and rawNonce (optional) to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS
* @param idToken ID Token
* @param rawNonce Access Token
*/
@Cordova({ sync: true })
signInWithApple(identityToken: string, rawNonce?: string): Promise<any> {
return;
}

/**
* Uses Facebook's accessToken to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS.
* @param accessToken Access Token
Expand Down

0 comments on commit e7bc1b6

Please sign in to comment.