This PR refactors account auth types into account identifiers and account auth types. This allows a user to sign in with any combination of identifier and auth type on the account. It also allows users to link and unlink identifiers and auth types independently, unless dealing with external auth types and identifiers (e.g., OIDC).
Resolves #674
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.
[ ] Immediately
[ ] Within a week
[x] When possible
Type of changes
Please select a relevant option:
[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)
Checklist:
Please select all applicable options:
[x] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
Description
This PR refactors account auth types into account identifiers and account auth types. This allows a user to sign in with any combination of identifier and auth type on the account. It also allows users to link and unlink identifiers and auth types independently, unless dealing with external auth types and identifiers (e.g., OIDC).
Resolves #674
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.
Type of changes
Please select a relevant option:
Checklist:
Please select all applicable options: