Swift: Unlink an identity from a user

Examples

Unlink an identity

// retrieve all identites linked to a user
let identities = try await supabase.auth.userIdentities()

// find the google identity 
let googleIdentity = identities.first \{
  $0.provider == .google
\}

// unlink the google identity
try await supabase.auth.unlinkIdentity(googleIdentity)