Task specification
We throw CANNOT_GENERATE_TOKEN when PowerAuthAuthorizationHttpHeader fails to generate.
But this naming is misleading; it does not mean that the token itself was not created or fetched; it means that the HTTP header for this token failed to generate.
We should use a better name, like GENERATE_HEADER
Keep this consistent with the sister issue in Flutter (wultra/flutter-powerauth-mobile-sdk#57)
Task specification
We throw
CANNOT_GENERATE_TOKENwhenPowerAuthAuthorizationHttpHeaderfails to generate.But this naming is misleading; it does not mean that the token itself was not created or fetched; it means that the HTTP header for this token failed to generate.
We should use a better name, like
GENERATE_HEADERKeep this consistent with the sister issue in Flutter (wultra/flutter-powerauth-mobile-sdk#57)