Ejemplo n.º 1
0
        public bool Logout(string baseUrl, string username)
        {
            BackplaneJSON parameters = new BackplaneJSON()
            {
                Source = baseUrl,
                Id = baseUrl + "/" + username,
                IdentityUrl = baseUrl + "/" + username
            };

            return this.Logout(parameters);
        }
Ejemplo n.º 2
0
        public bool Login(string baseUrl, string username, string userAvatar)
        {
            BackplaneJSON parameters = new BackplaneJSON()
            {
                Source = baseUrl,
                Context = baseUrl,
                Id = baseUrl + "/" + username,
                DisplayName = username,
                IdentityUrl = baseUrl + "/" + username,
                Username = username,
                Value = userAvatar,
            };

            return this.Login(parameters);
        }
Ejemplo n.º 3
0
 public bool Logout(BackplaneJSON parameters)
 {
     return this.SendRequest(parameters.GeneratePostData("identity/logout"));
 }