Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itirokob/3f33926549747bcafa5648aa09cfe8b0 to your computer and use it in GitHub Desktop.
Save itirokob/3f33926549747bcafa5648aa09cfe8b0 to your computer and use it in GitHub Desktop.
Conform SWA credential to new protocol
protocol ASAuthorizationAppleIDCredentialProtocol {
var fullName: PersonNameComponents? { get }
var email: String? { get }
var user: String { get }
var authCode: String? { get }
var idToken: String? { get }
}
extension ASAuthorizationAppleIDCredential: ASAuthorizationAppleIDCredentialProtocol {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment