summaryrefslogtreecommitdiffstats
path: root/source/Janrain.OpenId/Store/IAssociationStore.cs
blob: b0f7ad302a7380fcbbd19ad0566a38220d4138bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Text;
using Janrain.OpenId;

namespace Janrain.OpenId.Store
{
    public interface IAssociationStore
    {

        byte[] AuthKey { get; }
        bool IsDumb { get; }

        void StoreAssociation(Uri serverUri, Association assoc);
        Association GetAssociation(Uri serverUri);
        Association GetAssociation(Uri serverUri, string handle);
        bool RemoveAssociation(Uri serverUri, string handle);
        void StoreNonce(string nonce);
        bool UseNonce(string nonce);

    }
}