summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.IssuedToken.cs
blob: 5e1017864bfc4d4cd277958032e34101f81318e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//-----------------------------------------------------------------------
// <copyright file="Model.IssuedToken.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace RelyingPartyLogic {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Web;
	using DotNetOpenAuth.OAuth.ChannelElements;

	public partial class IssuedToken {
		/// <summary>
		/// Initializes a new instance of the <see cref="IssuedToken"/> class.
		/// </summary>
		public IssuedToken() {
			this.CreatedOnUtc = DateTime.UtcNow;
		}

		partial void OnCreatedOnUtcChanging(DateTime value) {
			Utilities.VerifyThrowNotLocalTime(value);
		}
	}
}