Beispiel #1
0
 public OAuthException(IConsumerResponse consumerResponse, IOAuthContext requestContext, OAuthProblemReport problemReport)
     : base(problemReport.ProblemAdvice)
 {
     ConsumerResponse = consumerResponse;
     Report           = problemReport;
     Context          = requestContext;
 }
Beispiel #2
0
 public OAuthException(IOAuthContext context, string problem, string advice, Exception innerException)
     : base(advice, innerException)
 {
     Context = context;
     Report  = new OAuthProblemReport()
     {
         Problem = problem, ProblemAdvice = advice
     };
 }