Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="gConnect">
- <button class="g-signin"
- data-scope="https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email"
- data-requestvisibleactions="http://schemas.google.com/AddActivity"
- data-clientId="ThisIsWhereTheClientIdGoes"
- data-accesstype="offline"
- data-callback="onSignInCallback"
- data-theme="dark"
- data-cookiepolicy="single_host_origin">
- </button>
- </div>
- //Scopes in the handler
- IAuthorizationCodeFlow flow =
- new GoogleAuthorizationCodeFlow(new GoogleAuthorizationCodeFlow.Initializer
- {
- ClientSecrets = secrets,
- Scopes = new string[] { PlusService.Scope.PlusLogin, PlusService.Scope.UserinfoEmail }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement