.net - Bearer token that never expires -


is possible define asp.net web api 2 bearer token never expires? clue?

i don't think can set never expire set longer accesstokenexpiretimespan:

oauthoptions = new oauthauthorizationserveroptions {     tokenendpointpath = new pathstring("/token"),     provider = new applicationoauthprovider(publicclientid, usermanagerfactory),     authorizeendpointpath = new pathstring("/api/account/externallogin"),     accesstokenexpiretimespan = timespan.fromdays(14),     allowinsecurehttp = true };   app.useoauthbearertokens(oauthoptions); 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -