public OAuth2CodeRedeemerMiddleWare(OwinMiddleware next, OAuth2CodeRedeemerOptions options) : base(next)
 {
     if (options == null)
     {
         throw new ArgumentNullException("options");
     }
     this.options = options;
 }
 public static IAppBuilder UseOAuth2CodeRedeemer(this IAppBuilder app, OAuth2CodeRedeemerOptions options)
 {
     app.Use <OAuth2CodeRedeemerMiddleWare>(options);
     return(app);
 }