Construct proper authenticator type depending on whether a context store and mutex for sequential refreshes is defined.
Previously a sequential refresh authenticator was being constructed with potentially undefined values for the context store,
which resulted in unexpected exceptions from the core API in some cases
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Construct proper authenticator type depending on whether a context store and mutex for sequential refreshes is defined. Previously a sequential refresh authenticator was being constructed with potentially undefined values for the context store, which resulted in unexpected exceptions from the core API in some cases
Types of changes