nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

Modify NXOAuth2AccessToken to also handle scopes returned as JSON array #196

Closed srgb closed 8 years ago

srgb commented 8 years ago

Some APIs issue token responses with the scopes as a JSON array rather than just a string value. This minor change enables the library to cope with the original type of response as well as an array.