|
Issue 351: Reimplement OAuth2 (Step 5): WP support
Sample code:
var credential = await GoogleWebAuthenticationBroker.AuthenticateAsync(
new FileStream("client_secrets.json", FileMode.Open, FileAccess.Read),
new[] { DriveService.Scope.Drive },
"Eyal",
CancellationToken.None);
var i = new BaseClientService.Initializer()
{
HttpClientInitializer = credential,
ApplicationName = "eyal application",
};
Total comments: 21
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+951 lines, -6 lines) |
Patch |
|
A |
Src/GoogleApis.Auth.WP/GoogleApis.Auth.WP.csproj
|
View
|
|
1 chunk |
+158 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/OAuth2/AuthorizationCodeBroker.cs
|
View
|
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/OAuth2/AuthorizationCodeWPInstalledApp.cs
|
View
|
1
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/OAuth2/GoogleWebAuthenticationBroker.cs
|
View
|
1
2
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/OAuth2/WebAuthenticationBrokerUserControl.xaml
|
View
|
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/OAuth2/WebAuthenticationBrokerUserControl.xaml.cs
|
View
|
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/Properties/AssemblyInfo.cs
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/app.config
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.Auth.WP/packages.config
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.WP/Apis/Util/Protect/DataProtection.cs
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.WP/Apis/Util/Store/StorageDataStore.cs
|
View
|
1
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.WP/GoogleApis.WP.csproj
|
View
|
|
1 chunk |
+145 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.WP/Properties/AssemblyInfo.cs
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.WP/app.config
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
Src/GoogleApis.WP/packages.config
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Src/GoogleApis/Apis/Json/NewtonsoftJsonSerializer.cs
|
View
|
1
|
5 chunks |
+17 lines, -6 lines |
1 comment
|
Download
|
Total messages: 6
|