43 references to Scope
Identity.ExternalClaims (1)
Startup.cs (1)
48o.Scope.Add("https://www.googleapis.com/auth/plus.login");
Microsoft.AspNetCore.Authentication.Facebook (1)
FacebookOptions.cs (1)
26Scope.Add("email");
Microsoft.AspNetCore.Authentication.Google (4)
GoogleHandler.cs (1)
74SetQueryParam(queryStrings, properties, GoogleChallengeProperties.ScopeKey, FormatScope, Options.Scope);
GoogleOptions.cs (3)
25Scope.Add("openid"); 26Scope.Add("profile"); 27Scope.Add("email");
Microsoft.AspNetCore.Authentication.MicrosoftAccount (2)
MicrosoftAccountHandler.cs (1)
71AddQueryString(queryStrings, properties, MicrosoftChallengeProperties.ScopeKey, FormatScope, Options.Scope);
MicrosoftAccountOptions.cs (1)
25Scope.Add("https://graph.microsoft.com/user.read");
Microsoft.AspNetCore.Authentication.OAuth (2)
OAuthHandler.cs (2)
348/// Format the <see cref="OAuthOptions.Scope"/> property. 353=> FormatScope(Options.Scope);
Microsoft.AspNetCore.Authentication.Test (27)
FacebookTests.cs (9)
133o.Scope.Clear(); 134o.Scope.Add("foo"); 135o.Scope.Add("bar"); 163o.Scope.Clear(); 164o.Scope.Add("foo"); 165o.Scope.Add("bar"); 195o.Scope.Clear(); 196o.Scope.Add("foo"); 197o.Scope.Add("bar");
MicrosoftAccountTests.cs (9)
145o.Scope.Clear(); 146o.Scope.Add("foo"); 147o.Scope.Add("bar"); 163o.Scope.Clear(); 164o.Scope.Add("foo"); 165o.Scope.Add("bar"); 181o.Scope.Clear(); 182o.Scope.Add("foo"); 183o.Scope.Add("bar");
OAuthTests.cs (9)
185opt.Scope.Clear(); 186opt.Scope.Add("foo"); 187opt.Scope.Add("bar"); 238opt.Scope.Clear(); 239opt.Scope.Add("foo"); 240opt.Scope.Add("bar"); 267opt.Scope.Clear(); 268opt.Scope.Add("foo"); 269opt.Scope.Add("bar");
SocialSample (6)
Startup.cs (6)
50o.Scope.Add("email"); 106o.Scope.Add("offline_access"); 188o.Scope.Add("openid"); 189o.Scope.Add("profile"); 190o.Scope.Add("email"); 191o.Scope.Add("offline_access");