diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-16 20:39:44 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-16 20:39:44 -0800 |
commit | b008f1e9ff41584ede444657e121870f1f1ed6fc (patch) | |
tree | 1e824408fe62fbca8362f78052092743f045df8e /projecttemplates/RelyingPartyLogic/Model.IssuedRequestToken.cs | |
parent | dbc33d404f55e5d76e5d6d5f9db8dad0b9747e3c (diff) | |
download | DotNetOpenAuth-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/Model.IssuedRequestToken.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/Model.IssuedRequestToken.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.IssuedRequestToken.cs b/projecttemplates/RelyingPartyLogic/Model.IssuedRequestToken.cs index c62f5c4..1e96eb7 100644 --- a/projecttemplates/RelyingPartyLogic/Model.IssuedRequestToken.cs +++ b/projecttemplates/RelyingPartyLogic/Model.IssuedRequestToken.cs @@ -43,6 +43,13 @@ namespace RelyingPartyLogic { } /// <summary> + /// Gets the (local) date that this request token was first created on. + /// </summary> + DateTime IServiceProviderRequestToken.CreatedOn { + get { return this.CreatedOnUtc.ToLocalTime(); } + } + + /// <summary> /// Authorizes this request token to allow exchange for an access token. /// </summary> /// <remarks> |