blob: de4505dd0150ff23eef0d3cde94d0ffe99548610 (
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
30
31
|
//-----------------------------------------------------------------------
// <copyright file="InMemoryConsumerDescription.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace OpenIdProviderWebForms.Code {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DotNetOpenAuth.OAuth.ChannelElements;
public class InMemoryConsumerDescription : IConsumerDescription {
#region IConsumerDescription Members
public string Key { get; set; }
public string Secret { get; set; }
public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; set; }
public Uri Callback { get; set; }
public DotNetOpenAuth.OAuth.VerificationCodeFormat VerificationCodeFormat { get; set; }
public int VerificationCodeLength { get; set; }
#endregion
}
}
|