uber / uber-ios-sdk

Uber iOS SDK (beta)
https://developer.uber.com/docs
MIT License
376 stars 125 forks source link

Update Configuration to use `URL` for Callback URLs #203

Closed edjiang closed 6 years ago

edjiang commented 7 years ago

Previously, the Configuration object kept track of Callback URIs as Strings.

The correct type is URL, and upon the process of making changes to authenticators I decided to change this to URL across the board to reduce the need to convert between the two types.

We also change the useFallback parameter to default false, as this parameter is only used to fall back to the Authorization Code flow. Since the end developer needs to set up a server to use Authorization Code flow, we make that usage opt-in.

tyvsmith commented 6 years ago

Couple small changes, otherwise looks good.