예제 #1
0
 public bool UnRegister(oAuthTicket ticket)
 {
     if (Store.ContainsKey(ticket))
     {
         return(Store.Remove(ticket));
     }
     else
     {
         return(true);
     }
 }
예제 #2
0
 public oAuthResponse <T> GetDeposit(oAuthTicket ticket)
 {
     if (Store.ContainsKey(ticket))
     {
         return(Store[ticket]);
     }
     else
     {
         return(oAuthResponse <T> .InvalidatedoAuthResponse);
     }
 }