17 references to SchemeAndServer
Microsoft.AspNetCore.Authentication.Test (12)
FacebookTests.cs (4)
340
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == FacebookDefaults.TokenEndpoint)
347
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) ==
348
new Uri(customUserInfoEndpoint).GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped))
417
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://graph.facebook.com/v22.0/me")
GoogleTests.cs (2)
1056
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
1111
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
MicrosoftAccountTests.cs (2)
215
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
323
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
TwitterTests.cs (4)
404
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token")
473
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token")
486
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) ==
487
new Uri(verifyCredentialsEndpoint).GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped))
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsPolicyBuilder.cs (1)
86
return builder.Uri.GetComponents(UriComponents.
SchemeAndServer
, UriFormat.Unescaped);
PresentationCore (1)
System\Windows\Navigation\BaseUriHelper.cs (1)
352
return (new Uri(sUri.GetComponents(UriComponents.
SchemeAndServer
, UriFormat.UriEscaped))).MakeRelativeUri(sUri);
System.Private.Uri (3)
System\Uri.cs (3)
3065
case UriComponents.
SchemeAndServer
| UriComponents.UserInfo:
4790
left = basePart.GetParts(UriComponents.
SchemeAndServer
| UriComponents.UserInfo, uriFormat);
4892
left = basePart.GetParts(UriComponents.
SchemeAndServer
| UriComponents.UserInfo, uriFormat);