Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(authenticator): Publish the function to revoke the Apple user token #91

Merged
merged 1 commit into from
May 31, 2024

Conversation

naipaka
Copy link
Contributor

@naipaka naipaka commented May 30, 2024

πŸ”— Issue Link

None.

πŸ™Œ What I did

  • Publish the function to revoke the Apple user token

✍️ What I didn't do

  • None.

βœ… Verification

  • Android
  • iOS
  • macOS
  • Web

Screenshots

Additional Information

Comment on lines +148 to +158
/// Reauthenticate with Apple.
/// Used to revoke the Apple user token.
Future<UserCredential> reauthenticateWithApple() async {
return _appleAuth.reauthenticate();
}

/// Revokes the Apple user token.
Future<void> revokeTokenWithAuthorizationCode(String code) async {
await _auth.revokeTokenWithAuthorizationCode(code);
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the feature to revoke the Apple user token because I wanted to use it.

@naipaka naipaka marked this pull request as ready for review May 30, 2024 23:41
@naipaka naipaka requested a review from a team as a code owner May 30, 2024 23:41
@naipaka naipaka requested review from boywithdv and removed request for a team May 30, 2024 23:41
Copy link
Member

@riscait riscait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
LGTMπŸš€

@naipaka naipaka merged commit 2824952 into main May 31, 2024
5 checks passed
@naipaka naipaka deleted the add-revoke-token-with-apple-to-altfire-authenticator branch May 31, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants