17 references to SchemeAndServer
Microsoft.AspNetCore.Authentication.Test (12)
FacebookTests.cs (4)
333
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == FacebookDefaults.TokenEndpoint)
340
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) ==
341
new Uri(customUserInfoEndpoint).GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped))
410
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://graph.facebook.com/v14.0/me")
GoogleTests.cs (2)
1049
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
1104
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://www.googleapis.com/oauth2/v3/userinfo")
MicrosoftAccountTests.cs (2)
208
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
316
else if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://graph.microsoft.com/v1.0/me")
TwitterTests.cs (4)
397
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token")
466
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) == "https://api.twitter.com/oauth/access_token")
479
if (req.RequestUri.GetComponents(UriComponents.
SchemeAndServer
| UriComponents.Path, UriFormat.UriEscaped) ==
480
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)
353
return (new Uri(sUri.GetComponents(UriComponents.
SchemeAndServer
, UriFormat.UriEscaped))).MakeRelativeUri(sUri);
System.Private.Uri (3)
System\Uri.cs (3)
3059
case UriComponents.
SchemeAndServer
| UriComponents.UserInfo:
4777
left = basePart.GetParts(UriComponents.
SchemeAndServer
| UriComponents.UserInfo, uriFormat);
4879
left = basePart.GetParts(UriComponents.
SchemeAndServer
| UriComponents.UserInfo, uriFormat);