This PR validates TokenResponse for required parameters before returning the TokenResponse. Otherwise, an AuthorizationException is thrown. access_token, token_type, and expires_in are all required parameters in okta-mobile-kotlin, and so those are the parameters being validated.
Also, reverted an earlier README update which was redundant due to existing proguard-rules.pro in the SDK.
Description:
This PR validates TokenResponse for required parameters before returning the TokenResponse. Otherwise, an AuthorizationException is thrown. access_token, token_type, and expires_in are all required parameters in okta-mobile-kotlin, and so those are the parameters being validated.
Also, reverted an earlier README update which was redundant due to existing proguard-rules.pro in the SDK.
Testing details:
Other considerations:
RESOLVES:
OKTA-XXXXX
Primary Reviewer(s):
Additional Reviewers:
Security Reviewer(s) (@ okta/rex-team if necessary):
UX Reviewer(s) (if necessary):