-
Notifications
You must be signed in to change notification settings - Fork 1k
Authentication Emulator Supports MFA for Simple Read/Write User Operations (Fixes #3170) #3173
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4f2e2bd
Authentication Emulator Supports MFA Info for Simple Read/Write User …
wokkaflokka b2ce6d6
Merge branch 'master' into issue.3170
wokkaflokka 9e6da88
throw NotImplementedError if an MFA user attempts to login using the …
wokkaflokka 7cc3395
Merge branch 'master' into issue.3170
wokkaflokka 704982b
Merge branch 'master' into issue.3170
wokkaflokka a41f116
bring validation into operations layer and extend MFA related support…
wokkaflokka 03beba2
Merge branch 'master' into issue.3170
wokkaflokka 0c592cf
1. simplify state handling for MFA
wokkaflokka d77f6f5
match the SDK behavior for duplicated phone numbers and duplicated MF…
wokkaflokka 968864a
change import for brevity
wokkaflokka c69eb13
update constants and IDs used in tests + simplify ID generation
wokkaflokka 21190d9
Merge branch 'master' into issue.3170
wokkaflokka f48005a
update variables in test
wokkaflokka 09c6d9f
Update CHANGELOG.md
yuchenshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
match the SDK behavior for duplicated phone numbers and duplicated MF…
…A Enrollment IDs on create and update
- Loading branch information
commit d77f6f5e8878b3dd21d26c6aaafecb339d0f574b
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import * as schema from "./schema"; | ||
export type Schemas = schema.components["schemas"]; | ||
export type MfaEnrollment = Schemas["GoogleCloudIdentitytoolkitV1MfaEnrollment"]; | ||
export type MfaEnrollments = MfaEnrollment[]; | ||
export type CreateMfaEnrollmentsRequest = Schemas["GoogleCloudIdentitytoolkitV1MfaFactor"][]; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'd actually suggest just
options: {generateEnrollmentIds: boolean}
instead. Less code, less abstractions and more readable.