예제 #1
0
        public void Add(string id, string secret)
        {
            ThrowIfFound(id, () => "Cannot add client");

            clients[id] = new AppClient(secret, id, false);
        }
예제 #2
0
        public void Add(string id, string secret)
        {
            ThrowIfFound(id, () => "Cannot add client");

            clients[id] = new AppClient(secret, id, AppClientPermission.Editor);
        }
예제 #3
0
        public void Add(string id, string secret)
        {
            ThrowIfFound(id, () => "Cannot rename client");

            clients[id] = new AppClient(id, secret);
        }