Example #1
0
 //
 // invalidate room session
 //
 public void invalidateSession(Session session)
 {
     session.invalidate(this.baseURL, this.authToken, this.authHeaders);
 }
Example #2
0
 //
 // Return a room session for external authentication
 //
 public Session getSession(string room)
 {
     string[] parts = this.url.Split('/');
     Session session = new Session(this.roomInstance, parts[parts.Length - 1], room);
     session.getSecret(this.baseURL, this.authToken, this.authHeaders);
     return session;
 }