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)
126o.Scope.Clear(); 127o.Scope.Add("foo"); 128o.Scope.Add("bar"); 156o.Scope.Clear(); 157o.Scope.Add("foo"); 158o.Scope.Add("bar"); 188o.Scope.Clear(); 189o.Scope.Add("foo"); 190o.Scope.Add("bar");
MicrosoftAccountTests.cs (9)
138o.Scope.Clear(); 139o.Scope.Add("foo"); 140o.Scope.Add("bar"); 156o.Scope.Clear(); 157o.Scope.Add("foo"); 158o.Scope.Add("bar"); 174o.Scope.Clear(); 175o.Scope.Add("foo"); 176o.Scope.Add("bar");
OAuthTests.cs (9)
178opt.Scope.Clear(); 179opt.Scope.Add("foo"); 180opt.Scope.Add("bar"); 231opt.Scope.Clear(); 232opt.Scope.Add("foo"); 233opt.Scope.Add("bar"); 260opt.Scope.Clear(); 261opt.Scope.Add("foo"); 262opt.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");