summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-16 20:39:44 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-16 20:39:44 -0800
commitb008f1e9ff41584ede444657e121870f1f1ed6fc (patch)
tree1e824408fe62fbca8362f78052092743f045df8e /projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs
parentdbc33d404f55e5d76e5d6d5f9db8dad0b9747e3c (diff)
downloadDotNetOpenAuth-b008f1e9ff41584ede444657e121870f1f1ed6fc.zip
DotNetOpenAuth-b008f1e9ff41584ede444657e121870f1f1ed6fc.tar.gz
DotNetOpenAuth-b008f1e9ff41584ede444657e121870f1f1ed6fc.tar.bz2
Added a few new columns to the project template's database.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs b/projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs
index fbba776..894fbf3 100644
--- a/projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs
+++ b/projecttemplates/RelyingPartyLogic/OAuthTokenManager.cs
@@ -67,7 +67,6 @@ namespace RelyingPartyLogic {
var token = new IssuedRequestToken {
Callback = request.Callback,
Consumer = consumer,
- CreatedOn = DateTime.Now,
Token = response.Token,
TokenSecret = response.TokenSecret,
};
@@ -110,8 +109,7 @@ namespace RelyingPartyLogic {
var accessTokenEntity = new IssuedAccessToken {
Token = accessToken,
TokenSecret = accessTokenSecret,
- ExpirationDate = null, // currently, our access tokens don't expire
- CreatedOn = DateTime.Now,
+ ExpirationDateUtc = null, // currently, our access tokens don't expire
User = requestTokenEntity.User,
Scope = requestTokenEntity.Scope,
Consumer = requestTokenEntity.Consumer,