Esempio n. 1
0
 public OAuthAccessTokenBadRequestResult(OAuthAccessTokenError error, string errorDescription,
                                         ApiController controller)
     : this(new OAuthAccessTokenErrorContent {
     Error = error, ErrorDescription = errorDescription
 }, controller)
 {
 }
 public OAuthAccessTokenBadRequestResult(OAuthAccessTokenError error, string errorDescription,
     ApiController controller)
     : this(new OAuthAccessTokenErrorContent { Error = error, ErrorDescription = errorDescription }, controller)
 {
 }
Esempio n. 3
0
 private IHttpActionResult OAuthBadRequest(OAuthAccessTokenError error, string errorDescription = null)
 {
     return(new OAuthAccessTokenBadRequestResult(error, errorDescription, this));
 }