mulesoft / facebook-connector

Facebook Cloud Connector
Other
4 stars 9 forks source link

Add expiration to FacebookConnectorOAuthState #16

Open ddossot opened 11 years ago

ddossot commented 11 years ago

It's currently impossible to know when the token will expire: Facebook provides this information alongside the access token so it would be nice to store it in the persisted state.

3miliano commented 11 years ago

What do you need it for?

ddossot commented 11 years ago

For example to be able to display "You have successfully authorized the connector, the token will be valid ...". This allows the end user to confirm if he got a short lived or a long lived token.