mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-12 12:18:30 +01:00
The largest changes were around the hoauth2 interface: The OAuth2 type replaced all of its ByteString fields with either Text or URI. This is a huge improvement. The fields that are now Text are the type we had them in anyway. The fields that are now URI are type safe and easier to manipulate. For example, we were doing very unsafe query string manipulations looking for raw ? or & values, but now we can work with tuples in a well-typed property. Additionally the AccessToken type was upgraded to OAuth2Token with an accessToken field, and the simple Either ByteString a results were replaced by a real OAuth2Error type. This required changes to our InvalidProfileResponse mechanism to support. To make working with uri-bytestring more convenient, an Extension library was added with some useful instances and helper functions. This library may be upstreamed at some point.
9 lines
111 B
YAML
9 lines
111 B
YAML
resolver: lts-9.5
|
|
flags:
|
|
yesod-auth-oauth2:
|
|
network-uri: true
|
|
packages:
|
|
- .
|
|
extra-deps:
|
|
- load-env-0.1.1
|