//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace RelyingPartyLogic { using System; using DotNetOpenAuth.OAuth2; public partial class Client : IConsumerDescription { public Uri Callback { get { return this.CallbackAsString != null ? new Uri(this.CallbackAsString) : null; } set { this.CallbackAsString = value != null ? value.AbsoluteUri : null; } } #region IConsumerDescription Members /// /// Gets the client secret. /// string IConsumerDescription.Secret { get { return this.ClientSecret; } } #endregion } }