-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth): check disabled status on verifyIDToken (#455)
* check disabled status on verifyIDToken * go fmt * add test cases and some other tweks * tweak some declarations, remove a double call to checkRevokedOrDisabled * Added integration test for disabled status check * make tweaks * added unit test for VerifySessionCookie * Undid public API rename Co-authored-by: Google Open Source Bot <[email protected]> Co-authored-by: Patrick Jones <[email protected]> Co-authored-by: Hiranya Jayathilaka <[email protected]>
- Loading branch information
1 parent
4d3cc69
commit ea909b1
Showing
8 changed files
with
145 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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,22 @@ | ||
{ | ||
"kind": "identitytoolkit#GetAccountInfoResponse", | ||
"users": [ | ||
{ | ||
"localId": "testuser", | ||
"email": "[email protected]", | ||
"phoneNumber": "+1234567890", | ||
"emailVerified": true, | ||
"displayName": "Test User", | ||
"photoUrl": "http://www.example.com/testuser/photo.png", | ||
"passwordHash": "passwordhash", | ||
"salt": "salt===", | ||
"passwordUpdatedAt": 1.494364393E+12, | ||
"validSince": "1494364393", | ||
"disabled": true, | ||
"createdAt": "1234567890000", | ||
"lastLoginAt": "1233211232000", | ||
"customAttributes": "{\"admin\": true, \"package\": \"gold\"}", | ||
"tenantId": "testTenant" | ||
} | ||
] | ||
} |