blob: 9426408a7854ba6153eea3841ca8b6ca8400a25d (
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
27
28
29
|
//-----------------------------------------------------------------------
// <copyright file="Model.Client.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
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
/// <summary>
/// Gets the client secret.
/// </summary>
string IConsumerDescription.Secret {
get { return this.ClientSecret; }
}
#endregion
}
}
|