bshaffer / oauth2-demo-php

A demo application for running an OAuth2 server
748 stars 279 forks source link

How Can I change the expire value for the acces token #44

Closed Deep21 closed 10 years ago

Deep21 commented 10 years ago

Hello all,

I want to change the expire value when the new acces token will create. Can someone tell me how can I change the default value to the new one?

ssanders commented 10 years ago
$server->setConfig('access_lifetime', 1234567890);
Deep21 commented 10 years ago

Thank you !