Hi sanjeewa,
what is the advantage/usecase to give two differnt lifetime for these two
tokens?

thanks

On 10 January 2013 14:19, Sanjeewa Malalgoda <[email protected]> wrote:

> Hi All,
> What do you think about $subject. I think this would be useful feature for
> some scenarios. Let say we need to have user token with shorter life time
> and application token with long life time. In such scenarios we can use
> this option. What do you think about adding new configuration to OAuth
> section of identity.xml? Configuration would be like this. We can use -1 to
> indicate that token should not expire.
>
> <AccessTokenDefaultValidityPeriod>3600</AccessTokenDefaultValidityPeriod>
>
> <ApplicationAccessTokenDefaultValidityPeriod>36000</AccessTokenDefaultValidityPeriod>
>
> WDYT?
>
> Thanks.
> --
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +14084122175 | +94713068779
>
>  <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to