Index: Src/GoogleApis.Auth.WP/OAuth2/AuthorizationCodeWPInstalledApp.cs
===================================================================
--- a/Src/GoogleApis.Auth.WP/OAuth2/AuthorizationCodeWPInstalledApp.cs
+++ b/Src/GoogleApis.Auth.WP/OAuth2/AuthorizationCodeWPInstalledApp.cs
@@ -39,13 +39,20 @@
private readonly IAuthorizationCodeInstalledApp innerInstallApp;
/// Constructs a new authorization code installed application for WP.
- /// A authorization code flow initializer.
+ /// An authorization code flow initializer.
public AuthorizationCodeWPInstalledApp(AuthorizationCodeFlow.Initializer authorizationCodeFlowInitializer)
{
var flow = new AuthorizationCodeFlow(authorizationCodeFlowInitializer);
innerInstallApp = new AuthorizationCodeInstalledApp(flow, new AuthorizationCodeBroker());
}
+ /// Constructs a new authorization code installed application for WP.
+ /// An authorization code flow.
+ public AuthorizationCodeWPInstalledApp(IAuthorizationCodeFlow flow)
+ {
+ innerInstallApp = new AuthorizationCodeInstalledApp(flow, new AuthorizationCodeBroker());
+ }
+
#region IAuthorizationCodeInstalledApp Members
public IAuthorizationCodeFlow Flow