Calyptus.Mvc.AuthenticationCookieAttribute.TryBinding C# (CSharp) Method

TryBinding() protected method

protected TryBinding ( string value, object &obj ) : bool
value string
obj object
return bool
		protected override bool TryBinding(string value, out object obj)
		{
			var ticket = FormsAuthentication.Decrypt(value);
			if (ticket == null || ticket.Expired)
			{
				obj = null;
				return false;
			}
			return base.TryBinding(ticket.Name, out obj);
		}
	}