Skip to content

OIDTVTokenRequestTests#1

Draft
soule wants to merge 12 commits intodev-tvos-tokenrequestfrom
dev-tvos-tokenrequest-tests
Draft

OIDTVTokenRequestTests#1
soule wants to merge 12 commits intodev-tvos-tokenrequestfrom
dev-tvos-tokenrequest-tests

Conversation

@soule
Copy link
Owner

@soule soule commented Jul 28, 2020

No description provided.

soule added 12 commits July 28, 2020 12:00
Adds OIDTVTokenRequest class, which is a subclass of OIDTokenRequest, to better adhere to the [RFC for TV authentication](https://tools.ietf.org/html/rfc8628#section-3.4). This adds the required `device_code` property which is sent in the request body, which differs from the `code` property for the authorization code in the parent class. Additionally, the grant type for TV authorization is hard-coded in, and several unused fields are dropped from the initializer and body request code.
# Conflicts:
#	AppAuth.xcodeproj/project.pbxproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant