Implemented support for creating custom tokens for the emulator. In the emulator mode:
The alg header is set to none.
Signature is set to empty byte sequence.
Bulk of the changes are just refactoring the existing tests. I've updated CustomTokenTest to be more inline with other test classes like IdTokenVerificationTest, where we test behavior via parameterization, as opposed to creating FirebaseApp instances with different configurations.
Implemented support for creating custom tokens for the emulator. In the emulator mode:
alg
header is set tonone
.Bulk of the changes are just refactoring the existing tests. I've updated
CustomTokenTest
to be more inline with other test classes likeIdTokenVerificationTest
, where we test behavior via parameterization, as opposed to creatingFirebaseApp
instances with different configurations.