diff --git a/src/Microsoft.AspNetCore.Authentication.Abstractions/baseline.netcore.json b/src/Microsoft.AspNetCore.Authentication.Abstractions/baseline.netcore.json new file mode 100644 index 0000000000..2d1e7e00e4 --- /dev/null +++ b/src/Microsoft.AspNetCore.Authentication.Abstractions/baseline.netcore.json @@ -0,0 +1,1734 @@ +{ + "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "Types": [ + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticateResult", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Succeeded", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Ticket", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationTicket", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Ticket", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Principal", + "Parameters": [], + "ReturnType": "System.Security.Claims.ClaimsPrincipal", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Properties", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Failure", + "Parameters": [], + "ReturnType": "System.Exception", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Failure", + "Parameters": [ + { + "Name": "value", + "Type": "System.Exception" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_None", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_None", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "Visibility": "Protected", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Success", + "Parameters": [ + { + "Name": "ticket", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationTicket" + } + ], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "NoResult", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Fail", + "Parameters": [ + { + "Name": "failure", + "Type": "System.Exception" + } + ], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Fail", + "Parameters": [ + { + "Name": "failureMessage", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticateResult", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Protected", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationHttpContextExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "AuthenticateAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AuthenticateAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTokenAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "tokenName", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTokenAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "tokenName", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationOptions", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Schemes", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IEnumerable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_SchemeMap", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddScheme", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + }, + { + "Name": "configureBuilder", + "Type": "System.Action" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddScheme", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + }, + { + "Name": "displayName", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [ + { + "ParameterName": "THandler", + "ParameterPosition": 0, + "BaseTypeOrInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationHandler" + ] + } + ] + }, + { + "Kind": "Method", + "Name": "get_DefaultScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultScheme", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DefaultAuthenticateScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultAuthenticateScheme", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DefaultSignInScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultSignInScheme", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DefaultSignOutScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultSignOutScheme", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DefaultChallengeScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultChallengeScheme", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DefaultForbidScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultForbidScheme", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Items", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_IsPersistent", + "Parameters": [], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_IsPersistent", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_RedirectUri", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_RedirectUri", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_IssuedUtc", + "Parameters": [], + "ReturnType": "System.Nullable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_IssuedUtc", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ExpiresUtc", + "Parameters": [], + "ReturnType": "System.Nullable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ExpiresUtc", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_AllowRefresh", + "Parameters": [], + "ReturnType": "System.Nullable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_AllowRefresh", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "items", + "Type": "System.Collections.Generic.IDictionary" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationScheme", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Name", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DisplayName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_HandlerType", + "Parameters": [], + "ReturnType": "System.Type", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + }, + { + "Name": "displayName", + "Type": "System.String" + }, + { + "Name": "handlerType", + "Type": "System.Type" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Name", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_DisplayName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DisplayName", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_HandlerType", + "Parameters": [], + "ReturnType": "System.Type", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_HandlerType", + "Parameters": [ + { + "Name": "value", + "Type": "System.Type" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Build", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationScheme", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationTicket", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_AuthenticationScheme", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Principal", + "Parameters": [], + "ReturnType": "System.Security.Claims.ClaimsPrincipal", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Properties", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.AuthenticationProperties", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + }, + { + "Name": "authenticationScheme", + "Type": "System.String" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "authenticationScheme", + "Type": "System.String" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationToken", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Name", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Name", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Value", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Value", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_OriginalPathBase", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.PathString", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_OriginalPathBase", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.PathString" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_OriginalPath", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.PathString", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_OriginalPath", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.PathString" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationHandler", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "InitializeAsync", + "Parameters": [ + { + "Name": "scheme", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" + }, + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AuthenticateAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "GetHandlerAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "authenticationScheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationHandler" + ], + "Members": [ + { + "Kind": "Method", + "Name": "HandleRequestAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "GetAllSchemesAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task>", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetSchemeAsync", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultAuthenticateSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultChallengeSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultForbidSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultSignInSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultSignOutSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddScheme", + "Parameters": [ + { + "Name": "scheme", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "RemoveScheme", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetRequestHandlerSchemesAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task>", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationService", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "AuthenticateAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationSignInHandler", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler" + ], + "Members": [ + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "user", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IAuthenticationSignOutHandler", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationHandler" + ], + "Members": [ + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.IClaimsTransformation", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "TransformAsync", + "Parameters": [ + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationTokenExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "StoreTokens", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + }, + { + "Name": "tokens", + "Type": "System.Collections.Generic.IEnumerable" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTokenValue", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + }, + { + "Name": "tokenName", + "Type": "System.String" + } + ], + "ReturnType": "System.String", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "UpdateTokenValue", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + }, + { + "Name": "tokenName", + "Type": "System.String" + }, + { + "Name": "tokenValue", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTokens", + "Parameters": [ + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Collections.Generic.IEnumerable", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTokenAsync", + "Parameters": [ + { + "Name": "auth", + "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationService" + }, + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "tokenName", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetTokenAsync", + "Parameters": [ + { + "Name": "auth", + "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationService" + }, + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "tokenName", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Authentication.Core/baseline.netcore.json b/src/Microsoft.AspNetCore.Authentication.Core/baseline.netcore.json new file mode 100644 index 0000000000..62aeb44738 --- /dev/null +++ b/src/Microsoft.AspNetCore.Authentication.Core/baseline.netcore.json @@ -0,0 +1,515 @@ +{ + "AssemblyIdentity": "Microsoft.AspNetCore.Authentication.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "Types": [ + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationFeature", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationFeature" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_OriginalPathBase", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.PathString", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_OriginalPathBase", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.PathString" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_OriginalPath", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.PathString", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_OriginalPath", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.PathString" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationFeature", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Schemes", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetHandlerAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "authenticationScheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "schemes", + "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" + ], + "Members": [ + { + "Kind": "Method", + "Name": "GetDefaultAuthenticateSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultChallengeSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultForbidSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultSignInSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetDefaultSignOutSchemeAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetSchemeAsync", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetRequestHandlerSchemesAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task>", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddScheme", + "Parameters": [ + { + "Name": "scheme", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationScheme" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "RemoveScheme", + "Parameters": [ + { + "Name": "name", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetAllSchemesAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task>", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.Extensions.Options.IOptions" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.AuthenticationService", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IAuthenticationService" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Schemes", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Handlers", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Transform", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Authentication.IClaimsTransformation", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AuthenticateAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ChallengeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ForbidAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignInAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SignOutAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "scheme", + "Type": "System.String" + }, + { + "Name": "properties", + "Type": "Microsoft.AspNetCore.Authentication.AuthenticationProperties" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IAuthenticationService", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "schemes", + "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider" + }, + { + "Name": "handlers", + "Type": "Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider" + }, + { + "Name": "transform", + "Type": "Microsoft.AspNetCore.Authentication.IClaimsTransformation" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Authentication.NoopClaimsTransformation", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Authentication.IClaimsTransformation" + ], + "Members": [ + { + "Kind": "Method", + "Name": "TransformAsync", + "Parameters": [ + { + "Name": "principal", + "Type": "System.Security.Claims.ClaimsPrincipal" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Authentication.IClaimsTransformation", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "AddAuthenticationCore", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + } + ], + "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddAuthenticationCore", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + }, + { + "Name": "configureOptions", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Http.Abstractions/baseline.netcore.json b/src/Microsoft.AspNetCore.Http.Abstractions/baseline.netcore.json index 4814d96431..c2eeac7fe9 100644 --- a/src/Microsoft.AspNetCore.Http.Abstractions/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Http.Abstractions/baseline.netcore.json @@ -1,75 +1,6 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Http.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ - { - "Name": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_ApplicationServices", - "Parameters": [], - "ReturnType": "System.IServiceProvider", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "set_ApplicationServices", - "Parameters": [ - { - "Name": "value", - "Type": "System.IServiceProvider" - } - ], - "ReturnType": "System.Void", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_ServerFeatures", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "get_Properties", - "Parameters": [], - "ReturnType": "System.Collections.Generic.IDictionary", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Use", - "Parameters": [ - { - "Name": "middleware", - "Type": "System.Func" - } - ], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "New", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Build", - "Parameters": [], - "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.AspNetCore.Builder.MapExtensions", "Visibility": "Public", @@ -264,6 +195,141 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Builder.UsePathBaseExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "UsePathBase", + "Parameters": [ + { + "Name": "app", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + }, + { + "Name": "pathBase", + "Type": "Microsoft.AspNetCore.Http.PathString" + } + ], + "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Builder.UseWhenExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "UseWhen", + "Parameters": [ + { + "Name": "app", + "Type": "Microsoft.AspNetCore.Builder.IApplicationBuilder" + }, + { + "Name": "predicate", + "Type": "System.Func" + }, + { + "Name": "configuration", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Builder.IApplicationBuilder", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_ApplicationServices", + "Parameters": [], + "ReturnType": "System.IServiceProvider", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ApplicationServices", + "Parameters": [ + { + "Name": "value", + "Type": "System.IServiceProvider" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ServerFeatures", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.Features.IFeatureCollection", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Properties", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IDictionary", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Use", + "Parameters": [ + { + "Name": "middleware", + "Type": "System.Func" + } + ], + "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "New", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Builder.IApplicationBuilder", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Build", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.RequestDelegate", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Builder.Extensions.MapMiddleware", "Visibility": "Public", @@ -456,6 +522,44 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Invoke", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "next", + "Type": "Microsoft.AspNetCore.Http.RequestDelegate" + }, + { + "Name": "pathBase", + "Type": "Microsoft.AspNetCore.Http.PathString" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.ConnectionInfo", "Visibility": "Public", @@ -463,6 +567,31 @@ "Abstract": true, "ImplementedInterfaces": [], "Members": [ + { + "Kind": "Method", + "Name": "get_Id", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Abstract": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Id", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Abstract": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_RemoteIpAddress", @@ -614,6 +743,214 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.CookieBuilder", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Name", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Name", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Path", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Path", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Domain", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Domain", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_HttpOnly", + "Parameters": [], + "ReturnType": "System.Boolean", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_HttpOnly", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_SameSite", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.SameSiteMode", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_SameSite", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.SameSiteMode" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_SecurePolicy", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.CookieSecurePolicy", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_SecurePolicy", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.CookieSecurePolicy" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Expiration", + "Parameters": [], + "ReturnType": "System.Nullable", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Expiration", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Build", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + } + ], + "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Build", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "expiresFrom", + "Type": "System.DateTimeOffset" + } + ], + "ReturnType": "Microsoft.AspNetCore.Http.CookieOptions", + "Virtual": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.CookieSecurePolicy", "Visibility": "Public", @@ -645,6 +982,172 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.HeaderDictionaryExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Append", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + }, + { + "Name": "value", + "Type": "Microsoft.Extensions.Primitives.StringValues" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AppendCommaSeparatedValues", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + }, + { + "Name": "values", + "Type": "System.String[]", + "IsParams": true + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetCommaSeparatedValues", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "System.String[]", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SetCommaSeparatedValues", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + }, + { + "Name": "values", + "Type": "System.String[]", + "IsParams": true + } + ], + "ReturnType": "System.Void", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Http.HttpResponseWritingExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "WriteAsync", + "Parameters": [ + { + "Name": "response", + "Type": "Microsoft.AspNetCore.Http.HttpResponse" + }, + { + "Name": "text", + "Type": "System.String" + }, + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "WriteAsync", + "Parameters": [ + { + "Name": "response", + "Type": "Microsoft.AspNetCore.Http.HttpResponse" + }, + { + "Name": "text", + "Type": "System.String" + }, + { + "Name": "encoding", + "Type": "System.Text.Encoding" + }, + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.FragmentString", "Visibility": "Public", @@ -1250,6 +1753,234 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.HttpMethods", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "IsConnect", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsDelete", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsGet", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsHead", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsOptions", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsPatch", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsPost", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsPut", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsTrace", + "Parameters": [ + { + "Name": "method", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Connect", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Delete", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Get", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Head", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Options", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Patch", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Post", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Put", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "Trace", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.HttpRequest", "Visibility": "Public", @@ -1996,6 +2727,66 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.IMiddleware", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "InvokeAsync", + "Parameters": [ + { + "Name": "context", + "Type": "Microsoft.AspNetCore.Http.HttpContext" + }, + { + "Name": "next", + "Type": "Microsoft.AspNetCore.Http.RequestDelegate" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Http.IMiddlewareFactory", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Create", + "Parameters": [ + { + "Name": "middlewareType", + "Type": "System.Type" + } + ], + "ReturnType": "Microsoft.AspNetCore.Http.IMiddleware", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Release", + "Parameters": [ + { + "Name": "middleware", + "Type": "Microsoft.AspNetCore.Http.IMiddleware" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.PathString", "Visibility": "Public", @@ -2137,6 +2928,56 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "StartsWithSegments", + "Parameters": [ + { + "Name": "other", + "Type": "Microsoft.AspNetCore.Http.PathString" + }, + { + "Name": "matched", + "Type": "Microsoft.AspNetCore.Http.PathString", + "Direction": "Out" + }, + { + "Name": "remaining", + "Type": "Microsoft.AspNetCore.Http.PathString", + "Direction": "Out" + } + ], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "StartsWithSegments", + "Parameters": [ + { + "Name": "other", + "Type": "Microsoft.AspNetCore.Http.PathString" + }, + { + "Name": "comparisonType", + "Type": "System.StringComparison" + }, + { + "Name": "matched", + "Type": "Microsoft.AspNetCore.Http.PathString", + "Direction": "Out" + }, + { + "Name": "remaining", + "Type": "Microsoft.AspNetCore.Http.PathString", + "Direction": "Out" + } + ], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "Add", @@ -2735,6 +3576,39 @@ "Sealed": true, "ImplementedInterfaces": [], "Members": [ + { + "Kind": "Field", + "Name": "Status100Continue", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "100" + }, + { + "Kind": "Field", + "Name": "Status101SwitchingProtocols", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "101" + }, + { + "Kind": "Field", + "Name": "Status102Processing", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "102" + }, { "Kind": "Field", "Name": "Status200OK", @@ -2812,6 +3686,39 @@ "Constant": true, "Literal": "206" }, + { + "Kind": "Field", + "Name": "Status207MultiStatus", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "207" + }, + { + "Kind": "Field", + "Name": "Status208AlreadyReported", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "208" + }, + { + "Kind": "Field", + "Name": "Status226IMUsed", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "226" + }, { "Kind": "Field", "Name": "Status300MultipleChoices", @@ -2900,6 +3807,17 @@ "Constant": true, "Literal": "307" }, + { + "Kind": "Field", + "Name": "Status308PermanentRedirect", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "308" + }, { "Kind": "Field", "Name": "Status400BadRequest", @@ -3054,6 +3972,17 @@ "Constant": true, "Literal": "413" }, + { + "Kind": "Field", + "Name": "Status413PayloadTooLarge", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "413" + }, { "Kind": "Field", "Name": "Status414RequestUriTooLong", @@ -3065,6 +3994,17 @@ "Constant": true, "Literal": "414" }, + { + "Kind": "Field", + "Name": "Status414UriTooLong", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "414" + }, { "Kind": "Field", "Name": "Status415UnsupportedMediaType", @@ -3087,6 +4027,17 @@ "Constant": true, "Literal": "416" }, + { + "Kind": "Field", + "Name": "Status416RangeNotSatisfiable", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "416" + }, { "Kind": "Field", "Name": "Status417ExpectationFailed", @@ -3120,6 +4071,105 @@ "Constant": true, "Literal": "419" }, + { + "Kind": "Field", + "Name": "Status421MisdirectedRequest", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "421" + }, + { + "Kind": "Field", + "Name": "Status422UnprocessableEntity", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "422" + }, + { + "Kind": "Field", + "Name": "Status423Locked", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "423" + }, + { + "Kind": "Field", + "Name": "Status424FailedDependency", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "424" + }, + { + "Kind": "Field", + "Name": "Status426UpgradeRequired", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "426" + }, + { + "Kind": "Field", + "Name": "Status428PreconditionRequired", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "428" + }, + { + "Kind": "Field", + "Name": "Status429TooManyRequests", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "429" + }, + { + "Kind": "Field", + "Name": "Status431RequestHeaderFieldsTooLarge", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "431" + }, + { + "Kind": "Field", + "Name": "Status451UnavailableForLegalReasons", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "451" + }, { "Kind": "Field", "Name": "Status500InternalServerError", @@ -3196,6 +4246,50 @@ "GenericParameter": [], "Constant": true, "Literal": "506" + }, + { + "Kind": "Field", + "Name": "Status507InsufficientStorage", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "507" + }, + { + "Kind": "Field", + "Name": "Status508LoopDetected", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "508" + }, + { + "Kind": "Field", + "Name": "Status510NotExtended", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "510" + }, + { + "Kind": "Field", + "Name": "Status511NetworkAuthenticationRequired", + "Parameters": [], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [], + "Constant": true, + "Literal": "511" } ], "GenericParameters": [] @@ -3262,7 +4356,238 @@ "GenericParameters": [] }, { - "Name": "Microsoft.AspNetCore.Http.HeaderDictionaryExtensions", + "Name": "Microsoft.AspNetCore.Http.Internal.HeaderSegment", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [ + "System.IEquatable" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Formatting", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Data", + "Parameters": [], + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Equals", + "Parameters": [ + { + "Name": "other", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegment" + } + ], + "ReturnType": "System.Boolean", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.IEquatable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Equals", + "Parameters": [ + { + "Name": "obj", + "Type": "System.Object" + } + ], + "ReturnType": "System.Boolean", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetHashCode", + "Parameters": [], + "ReturnType": "System.Int32", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "op_Equality", + "Parameters": [ + { + "Name": "left", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegment" + }, + { + "Name": "right", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegment" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "op_Inequality", + "Parameters": [ + { + "Name": "left", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegment" + }, + { + "Name": "right", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegment" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "formatting", + "Type": "Microsoft.Extensions.Primitives.StringSegment" + }, + { + "Name": "data", + "Type": "Microsoft.Extensions.Primitives.StringSegment" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [ + "System.Collections.Generic.IEnumerable", + "System.IEquatable" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Equals", + "Parameters": [ + { + "Name": "other", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection" + } + ], + "ReturnType": "System.Boolean", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.IEquatable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Equals", + "Parameters": [ + { + "Name": "obj", + "Type": "System.Object" + } + ], + "ReturnType": "System.Boolean", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetHashCode", + "Parameters": [], + "ReturnType": "System.Int32", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "op_Equality", + "Parameters": [ + { + "Name": "left", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection" + }, + { + "Name": "right", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "op_Inequality", + "Parameters": [ + { + "Name": "left", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection" + }, + { + "Name": "right", + "Type": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetEnumerator", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection+Enumerator", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.Extensions.Primitives.StringValues" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Http.Internal.ParsingHelpers", "Visibility": "Public", "Kind": "Class", "Abstract": true, @@ -3272,7 +4597,61 @@ "Members": [ { "Kind": "Method", - "Name": "Append", + "Name": "GetHeader", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.Extensions.Primitives.StringValues", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetHeaderSplit", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.Extensions.Primitives.StringValues", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetHeaderUnmodified", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + } + ], + "ReturnType": "Microsoft.Extensions.Primitives.StringValues", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "SetHeaderJoined", "Parameters": [ { "Name": "headers", @@ -3289,13 +4668,34 @@ ], "ReturnType": "System.Void", "Static": true, - "Extension": true, "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "AppendCommaSeparatedValues", + "Name": "SetHeaderUnmodified", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" + }, + { + "Name": "key", + "Type": "System.String" + }, + { + "Name": "values", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AppendHeaderJoined", "Parameters": [ { "Name": "headers", @@ -3313,32 +4713,12 @@ ], "ReturnType": "System.Void", "Static": true, - "Extension": true, "Visibility": "Public", "GenericParameter": [] }, { "Kind": "Method", - "Name": "GetCommaSeparatedValues", - "Parameters": [ - { - "Name": "headers", - "Type": "Microsoft.AspNetCore.Http.IHeaderDictionary" - }, - { - "Name": "key", - "Type": "System.String" - } - ], - "ReturnType": "System.String[]", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "SetCommaSeparatedValues", + "Name": "AppendHeaderUnmodified", "Parameters": [ { "Name": "headers", @@ -3350,77 +4730,11 @@ }, { "Name": "values", - "Type": "System.String[]", - "IsParams": true + "Type": "Microsoft.Extensions.Primitives.StringValues" } ], "ReturnType": "System.Void", "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.Http.HttpResponseWritingExtensions", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "WriteAsync", - "Parameters": [ - { - "Name": "response", - "Type": "Microsoft.AspNetCore.Http.HttpResponse" - }, - { - "Name": "text", - "Type": "System.String" - }, - { - "Name": "encoding", - "Type": "System.Text.Encoding" - }, - { - "Name": "cancellationToken", - "Type": "System.Threading.CancellationToken", - "DefaultValue": "default(System.Threading.CancellationToken)" - } - ], - "ReturnType": "System.Threading.Tasks.Task", - "Static": true, - "Extension": true, "Visibility": "Public", "GenericParameter": [] } @@ -4023,6 +5337,74 @@ } ], "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.Http.Internal.HeaderSegmentCollection+Enumerator", + "Visibility": "Public", + "Kind": "Struct", + "Sealed": true, + "ImplementedInterfaces": [ + "System.Collections.Generic.IEnumerator" + ], + "Members": [ + { + "Kind": "Method", + "Name": "get_Current", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.Internal.HeaderSegment", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Collections.Generic.IEnumerator", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Dispose", + "Parameters": [], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.IDisposable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "MoveNext", + "Parameters": [], + "ReturnType": "System.Boolean", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Collections.IEnumerator", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Reset", + "Parameters": [], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Collections.IEnumerator", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "headers", + "Type": "Microsoft.Extensions.Primitives.StringValues" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] } ] } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Http.Abstractions/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Http.Abstractions/breakingchanges.netcore.json deleted file mode 100644 index ded45f5cc3..0000000000 --- a/src/Microsoft.AspNetCore.Http.Abstractions/breakingchanges.netcore.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "TypeId": "public abstract class Microsoft.AspNetCore.Http.ConnectionInfo", - "MemberId": "public abstract System.String get_Id()", - "Kind": "Addition" - }, - { - "TypeId": "public abstract class Microsoft.AspNetCore.Http.ConnectionInfo", - "MemberId": "public abstract System.Void set_Id(System.String value)", - "Kind": "Addition" - } - ] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Http.Extensions/baseline.netcore.json b/src/Microsoft.AspNetCore.Http.Extensions/baseline.netcore.json index 9b55f4ed4d..33ae6d9ef9 100644 --- a/src/Microsoft.AspNetCore.Http.Extensions/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Http.Extensions/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Http.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Http.HeaderDictionaryTypeExtensions", @@ -1283,6 +1283,33 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.Extensions.HttpRequestMultipartExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "GetMultipartBoundary", + "Parameters": [ + { + "Name": "request", + "Type": "Microsoft.AspNetCore.Http.HttpRequest" + } + ], + "ReturnType": "System.String", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.Extensions.QueryBuilder", "Visibility": "Public", @@ -1435,6 +1462,36 @@ "Static": true, "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "CopyToAsync", + "Parameters": [ + { + "Name": "source", + "Type": "System.IO.Stream" + }, + { + "Name": "destination", + "Type": "System.IO.Stream" + }, + { + "Name": "count", + "Type": "System.Nullable" + }, + { + "Name": "bufferSize", + "Type": "System.Int32" + }, + { + "Name": "cancel", + "Type": "System.Threading.CancellationToken" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -1516,6 +1573,45 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "FromAbsolute", + "Parameters": [ + { + "Name": "uri", + "Type": "System.String" + }, + { + "Name": "scheme", + "Type": "System.String", + "Direction": "Out" + }, + { + "Name": "host", + "Type": "Microsoft.AspNetCore.Http.HostString", + "Direction": "Out" + }, + { + "Name": "path", + "Type": "Microsoft.AspNetCore.Http.PathString", + "Direction": "Out" + }, + { + "Name": "query", + "Type": "Microsoft.AspNetCore.Http.QueryString", + "Direction": "Out" + }, + { + "Name": "fragment", + "Type": "Microsoft.AspNetCore.Http.FragmentString", + "Direction": "Out" + } + ], + "ReturnType": "System.Void", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "Encode", @@ -1545,6 +1641,21 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "GetEncodedPathAndQuery", + "Parameters": [ + { + "Name": "request", + "Type": "Microsoft.AspNetCore.Http.HttpRequest" + } + ], + "ReturnType": "System.String", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "GetDisplayUrl", diff --git a/src/Microsoft.AspNetCore.Http.Features/baseline.netcore.json b/src/Microsoft.AspNetCore.Http.Features/baseline.netcore.json index d209ce2ee1..3c8fab88d3 100644 --- a/src/Microsoft.AspNetCore.Http.Features/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Http.Features/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Http.Features, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Http.Features, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Http.CookieOptions", @@ -91,6 +91,27 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_SameSite", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.Http.SameSiteMode", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_SameSite", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.AspNetCore.Http.SameSiteMode" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_HttpOnly", @@ -368,6 +389,25 @@ ], "ReturnType": "System.Void", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_ContentLength", + "Parameters": [], + "ReturnType": "System.Nullable", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ContentLength", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] } ], "GenericParameters": [] @@ -611,14 +651,26 @@ { "Kind": "Method", "Name": "LoadAsync", - "Parameters": [], + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], "ReturnType": "System.Threading.Tasks.Task", "GenericParameter": [] }, { "Kind": "Method", "Name": "CommitAsync", - "Parameters": [], + "Parameters": [ + { + "Name": "cancellationToken", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" + } + ], "ReturnType": "System.Threading.Tasks.Task", "GenericParameter": [] }, @@ -677,6 +729,37 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.SameSiteMode", + "Visibility": "Public", + "Kind": "Enumeration", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Field", + "Name": "None", + "Parameters": [], + "GenericParameter": [], + "Literal": "0" + }, + { + "Kind": "Field", + "Name": "Lax", + "Parameters": [], + "GenericParameter": [], + "Literal": "1" + }, + { + "Kind": "Field", + "Name": "Strict", + "Parameters": [], + "GenericParameter": [], + "Literal": "2" + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.WebSocketAcceptContext", "Visibility": "Public", @@ -1160,6 +1243,35 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.Features.IHttpBodyControlFeature", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_AllowSynchronousIO", + "Parameters": [], + "ReturnType": "System.Boolean", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_AllowSynchronousIO", + "Parameters": [ + { + "Name": "value", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.Features.IHttpBufferingFeature", "Visibility": "Public", @@ -1289,6 +1401,42 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.Features.IHttpMaxRequestBodySizeFeature", + "Visibility": "Public", + "Kind": "Interface", + "Abstract": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_IsReadOnly", + "Parameters": [], + "ReturnType": "System.Boolean", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_MaxRequestBodySize", + "Parameters": [], + "ReturnType": "System.Nullable", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_MaxRequestBodySize", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.Features.IHttpRequestFeature", "Visibility": "Public", diff --git a/src/Microsoft.AspNetCore.Http.Features/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Http.Features/breakingchanges.netcore.json deleted file mode 100644 index 96eb5548c5..0000000000 --- a/src/Microsoft.AspNetCore.Http.Features/breakingchanges.netcore.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.AspNetCore.Http.IHeaderDictionary : System.Collections.Generic.IDictionary", - "MemberId": "System.Nullable get_ContentLength()", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.IHeaderDictionary : System.Collections.Generic.IDictionary", - "MemberId": "System.Void set_ContentLength(System.Nullable value)", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.ISession", - "MemberId": "System.Threading.Tasks.Task CommitAsync()", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.ISession", - "MemberId": "System.Threading.Tasks.Task LoadAsync()", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.ISession", - "MemberId": "System.Threading.Tasks.Task CommitAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.AspNetCore.Http.ISession", - "MemberId": "System.Threading.Tasks.Task LoadAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Http/baseline.netcore.json b/src/Microsoft.AspNetCore.Http/baseline.netcore.json index a7bc95d6cb..92edd6acd7 100644 --- a/src/Microsoft.AspNetCore.Http/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Http/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Http, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder", @@ -690,6 +690,33 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_ContentLength", + "Parameters": [], + "ReturnType": "System.Nullable", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Http.IHeaderDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_ContentLength", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Http.IHeaderDictionary", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_Count", @@ -1017,10 +1044,6 @@ "Kind": "Constructor", "Name": ".ctor", "Parameters": [ - { - "Name": "poolProvider", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPoolProvider" - }, { "Name": "formOptions", "Type": "Microsoft.Extensions.Options.IOptions" @@ -1033,10 +1056,6 @@ "Kind": "Constructor", "Name": ".ctor", "Parameters": [ - { - "Name": "poolProvider", - "Type": "Microsoft.Extensions.ObjectPool.ObjectPoolProvider" - }, { "Name": "formOptions", "Type": "Microsoft.Extensions.Options.IOptions" @@ -1052,6 +1071,61 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.Http.MiddlewareFactory", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [ + "Microsoft.AspNetCore.Http.IMiddlewareFactory" + ], + "Members": [ + { + "Kind": "Method", + "Name": "Create", + "Parameters": [ + { + "Name": "middlewareType", + "Type": "System.Type" + } + ], + "ReturnType": "Microsoft.AspNetCore.Http.IMiddleware", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Http.IMiddlewareFactory", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Release", + "Parameters": [ + { + "Name": "middleware", + "Type": "Microsoft.AspNetCore.Http.IMiddleware" + } + ], + "ReturnType": "System.Void", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "Microsoft.AspNetCore.Http.IMiddlewareFactory", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "serviceProvider", + "Type": "System.IServiceProvider" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.Http.RequestFormReaderExtensions", "Visibility": "Public", @@ -1193,6 +1267,31 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_Id", + "Parameters": [], + "ReturnType": "System.String", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Id", + "Parameters": [ + { + "Name": "value", + "Type": "System.String" + } + ], + "ReturnType": "System.Void", + "Virtual": true, + "Override": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_RemoteIpAddress", diff --git a/src/Microsoft.AspNetCore.Http/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.Http/breakingchanges.netcore.json deleted file mode 100644 index 67515e0af1..0000000000 --- a/src/Microsoft.AspNetCore.Http/breakingchanges.netcore.json +++ /dev/null @@ -1,12 +0,0 @@ - [ - { - "TypeId": "public class Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.AspNetCore.Http.IHttpContextFactory", - "MemberId": "public .ctor(Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider, Microsoft.Extensions.Options.IOptions formOptions)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.AspNetCore.Http.IHttpContextFactory", - "MemberId": "public .ctor(Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider, Microsoft.Extensions.Options.IOptions formOptions, Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor)", - "Kind": "Removal" - } - ] diff --git a/src/Microsoft.AspNetCore.Owin/baseline.netcore.json b/src/Microsoft.AspNetCore.Owin/baseline.netcore.json index ec8635bdd3..c3d0a44572 100644 --- a/src/Microsoft.AspNetCore.Owin/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.Owin/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.AspNetCore.Builder.OwinExtensions", @@ -168,6 +168,17 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "GetEnumerator", + "Parameters": [], + "ReturnType": "System.Collections.Generic.IEnumerator>", + "Sealed": true, + "Virtual": true, + "ImplementedInterface": "System.Collections.Generic.IEnumerable>", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", diff --git a/src/Microsoft.AspNetCore.WebUtilities/baseline.netcore.json b/src/Microsoft.AspNetCore.WebUtilities/baseline.netcore.json index 3cdbdbb3e6..0bf330cd73 100644 --- a/src/Microsoft.AspNetCore.WebUtilities/baseline.netcore.json +++ b/src/Microsoft.AspNetCore.WebUtilities/baseline.netcore.json @@ -1,6 +1,218 @@ { - "AssemblyIdentity": "Microsoft.AspNetCore.WebUtilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.AspNetCore.WebUtilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ + { + "Name": "Microsoft.AspNetCore.WebUtilities.WebEncoders", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Base64UrlDecode", + "Parameters": [ + { + "Name": "input", + "Type": "System.String" + } + ], + "ReturnType": "System.Byte[]", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Base64UrlDecode", + "Parameters": [ + { + "Name": "input", + "Type": "System.String" + }, + { + "Name": "offset", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Byte[]", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Base64UrlDecode", + "Parameters": [ + { + "Name": "input", + "Type": "System.String" + }, + { + "Name": "offset", + "Type": "System.Int32" + }, + { + "Name": "buffer", + "Type": "System.Char[]" + }, + { + "Name": "bufferOffset", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Byte[]", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetArraySizeRequiredToDecode", + "Parameters": [ + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Base64UrlEncode", + "Parameters": [ + { + "Name": "input", + "Type": "System.Byte[]" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Base64UrlEncode", + "Parameters": [ + { + "Name": "input", + "Type": "System.Byte[]" + }, + { + "Name": "offset", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Base64UrlEncode", + "Parameters": [ + { + "Name": "input", + "Type": "System.Byte[]" + }, + { + "Name": "offset", + "Type": "System.Int32" + }, + { + "Name": "output", + "Type": "System.Char[]" + }, + { + "Name": "outputOffset", + "Type": "System.Int32" + }, + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetArraySizeRequiredToEncode", + "Parameters": [ + { + "Name": "count", + "Type": "System.Int32" + } + ], + "ReturnType": "System.Int32", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.WebUtilities.Base64UrlTextEncoder", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "Encode", + "Parameters": [ + { + "Name": "data", + "Type": "System.Byte[]" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "Decode", + "Parameters": [ + { + "Name": "text", + "Type": "System.String" + } + ], + "ReturnType": "System.Byte[]", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream", "Visibility": "Public", @@ -355,6 +567,136 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.WebUtilities.FileMultipartSection", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Section", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.WebUtilities.MultipartSection", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_FileStream", + "Parameters": [], + "ReturnType": "System.IO.Stream", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Name", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_FileName", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + }, + { + "Name": "header", + "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.WebUtilities.FormMultipartSection", + "Visibility": "Public", + "Kind": "Class", + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "get_Section", + "Parameters": [], + "ReturnType": "Microsoft.AspNetCore.WebUtilities.MultipartSection", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Name", + "Parameters": [], + "ReturnType": "System.String", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetValueAsync", + "Parameters": [], + "ReturnType": "System.Threading.Tasks.Task", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + } + ], + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + }, + { + "Name": "header", + "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" + } + ], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.WebUtilities.FormReader", "Visibility": "Public", @@ -969,17 +1311,6 @@ ], "Visibility": "Public", "GenericParameter": [] - }, - { - "Kind": "Field", - "Name": "DefaultBufferSize", - "Parameters": [], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [], - "Constant": true, - "Literal": "1024" } ], "GenericParameters": [] @@ -1282,6 +1613,90 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.AspNetCore.WebUtilities.MultipartSectionConverterExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "AsFileSection", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + } + ], + "ReturnType": "Microsoft.AspNetCore.WebUtilities.FileMultipartSection", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AsFormDataSection", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + } + ], + "ReturnType": "Microsoft.AspNetCore.WebUtilities.FormMultipartSection", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "GetContentDispositionHeader", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + } + ], + "ReturnType": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.AspNetCore.WebUtilities.MultipartSectionStreamExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "ReadAsStringAsync", + "Parameters": [ + { + "Name": "section", + "Type": "Microsoft.AspNetCore.WebUtilities.MultipartSection" + } + ], + "ReturnType": "System.Threading.Tasks.Task", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.AspNetCore.WebUtilities.QueryHelpers", "Visibility": "Public", @@ -1468,178 +1883,6 @@ } ], "GenericParameters": [] - }, - { - "Name": "Microsoft.AspNetCore.WebUtilities.WebEncoders", - "Visibility": "Public", - "Kind": "Class", - "Abstract": true, - "Static": true, - "Sealed": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Base64UrlDecode", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlDecode", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlDecode", - "Parameters": [ - { - "Name": "input", - "Type": "System.String" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "buffer", - "Type": "System.Char[]" - }, - { - "Name": "bufferOffset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Byte[]", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetArraySizeRequiredToDecode", - "Parameters": [ - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlEncode", - "Parameters": [ - { - "Name": "input", - "Type": "System.Byte[]" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlEncode", - "Parameters": [ - { - "Name": "input", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.String", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Base64UrlEncode", - "Parameters": [ - { - "Name": "input", - "Type": "System.Byte[]" - }, - { - "Name": "offset", - "Type": "System.Int32" - }, - { - "Name": "output", - "Type": "System.Char[]" - }, - { - "Name": "outputOffset", - "Type": "System.Int32" - }, - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "GetArraySizeRequiredToEncode", - "Parameters": [ - { - "Name": "count", - "Type": "System.Int32" - } - ], - "ReturnType": "System.Int32", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] } ] } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.WebUtilities/breakingchanges.netcore.json b/src/Microsoft.AspNetCore.WebUtilities/breakingchanges.netcore.json deleted file mode 100644 index c1f57ccf9f..0000000000 --- a/src/Microsoft.AspNetCore.WebUtilities/breakingchanges.netcore.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.AspNetCore.WebUtilities.HttpResponseStreamWriter : System.IO.TextWriter", - "MemberId": "public const System.Int32 DefaultBufferSize = 1024", - "Kind": "Removal" - } -] diff --git a/src/Microsoft.Net.Http.Headers/baseline.netcore.json b/src/Microsoft.Net.Http.Headers/baseline.netcore.json index 71355f27a7..f68dd6ee1e 100644 --- a/src/Microsoft.Net.Http.Headers/baseline.netcore.json +++ b/src/Microsoft.Net.Http.Headers/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.Net.Http.Headers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.Net.Http.Headers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.Net.Http.Headers.CacheControlHeaderValue", @@ -32,7 +32,7 @@ "Kind": "Method", "Name": "get_NoCacheHeaders", "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", + "ReturnType": "System.Collections.Generic.ICollection", "Visibility": "Public", "GenericParameter": [] }, @@ -250,7 +250,7 @@ "Kind": "Method", "Name": "get_PrivateHeaders", "Parameters": [], - "ReturnType": "System.Collections.Generic.ICollection", + "ReturnType": "System.Collections.Generic.ICollection", "Visibility": "Public", "GenericParameter": [] }, @@ -345,7 +345,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.CacheControlHeaderValue", @@ -359,7 +359,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -378,6 +378,126 @@ "Parameters": [], "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "PublicString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "PrivateString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "MaxAgeString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "SharedMaxAgeString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "NoCacheString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "NoStoreString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "MaxStaleString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "MinFreshString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "NoTransformString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "OnlyIfCachedString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "MustRevalidateString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Field", + "Name": "ProxyRevalidateString", + "Parameters": [], + "ReturnType": "System.String", + "Static": true, + "ReadOnly": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -392,7 +512,7 @@ "Kind": "Method", "Name": "get_DispositionType", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -402,7 +522,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -421,7 +541,7 @@ "Kind": "Method", "Name": "get_Name", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -431,7 +551,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -442,7 +562,7 @@ "Kind": "Method", "Name": "get_FileName", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -452,7 +572,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -463,7 +583,7 @@ "Kind": "Method", "Name": "get_FileNameStar", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -473,7 +593,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -570,7 +690,7 @@ "Parameters": [ { "Name": "fileName", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -583,7 +703,7 @@ "Parameters": [ { "Name": "fileName", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -631,7 +751,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", @@ -645,7 +765,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -664,7 +784,7 @@ "Parameters": [ { "Name": "dispositionType", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -673,6 +793,48 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValueIdentityExtensions", + "Visibility": "Public", + "Kind": "Class", + "Abstract": true, + "Static": true, + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Method", + "Name": "IsFileDisposition", + "Parameters": [ + { + "Name": "header", + "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "IsFormDisposition", + "Parameters": [ + { + "Name": "header", + "Type": "Microsoft.Net.Http.Headers.ContentDispositionHeaderValue" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue", "Visibility": "Public", @@ -683,7 +845,7 @@ "Kind": "Method", "Name": "get_Unit", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -693,7 +855,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -781,7 +943,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.ContentRangeHeaderValue", @@ -795,7 +957,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -869,7 +1031,7 @@ "Kind": "Method", "Name": "get_Name", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -879,7 +1041,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -890,7 +1052,7 @@ "Kind": "Method", "Name": "get_Value", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -900,7 +1062,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -923,7 +1085,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.CookieHeaderValue", @@ -937,7 +1099,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -1047,7 +1209,7 @@ "Parameters": [ { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -1059,11 +1221,11 @@ "Parameters": [ { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -1091,7 +1253,7 @@ "Kind": "Method", "Name": "get_Tag", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -1138,13 +1300,30 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "Compare", + "Parameters": [ + { + "Name": "other", + "Type": "Microsoft.Net.Http.Headers.EntityTagHeaderValue" + }, + { + "Name": "useStrongComparison", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.Boolean", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "Parse", "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.EntityTagHeaderValue", @@ -1158,7 +1337,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -1243,7 +1422,7 @@ "Parameters": [ { "Name": "tag", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -1255,7 +1434,7 @@ "Parameters": [ { "Name": "tag", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "isWeak", @@ -1451,7 +1630,7 @@ "Visibility": "Public", "GenericParameter": [], "Constant": true, - "Literal": "\"ContentMD5\"" + "Literal": "\"Content-MD5\"" }, { "Kind": "Field", @@ -1886,11 +2065,71 @@ "Members": [ { "Kind": "Method", - "Name": "TryParseInt64", + "Name": "TryParseSeconds", + "Parameters": [ + { + "Name": "headerValues", + "Type": "Microsoft.Extensions.Primitives.StringValues" + }, + { + "Name": "targetValue", + "Type": "System.String" + }, + { + "Name": "value", + "Type": "System.Nullable", + "Direction": "Out" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "ContainsCacheDirective", + "Parameters": [ + { + "Name": "cacheControlDirectives", + "Type": "Microsoft.Extensions.Primitives.StringValues" + }, + { + "Name": "targetDirectives", + "Type": "System.String" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "TryParseNonNegativeInt32", "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" + }, + { + "Name": "result", + "Type": "System.Int32", + "Direction": "Out" + } + ], + "ReturnType": "System.Boolean", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "TryParseNonNegativeInt64", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "result", @@ -1905,7 +2144,7 @@ }, { "Kind": "Method", - "Name": "FormatInt64", + "Name": "FormatNonNegativeInt64", "Parameters": [ { "Name": "value", @@ -1923,7 +2162,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "result", @@ -1950,16 +2189,34 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "FormatDate", + "Parameters": [ + { + "Name": "dateTime", + "Type": "System.DateTimeOffset" + }, + { + "Name": "quoted", + "Type": "System.Boolean" + } + ], + "ReturnType": "System.String", + "Static": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "RemoveQuotes", "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Static": true, "Visibility": "Public", "GenericParameter": [] @@ -1977,7 +2234,7 @@ "Kind": "Method", "Name": "get_Charset", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -1987,7 +2244,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -2019,7 +2276,7 @@ "Kind": "Method", "Name": "get_Boundary", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2029,7 +2286,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -2069,7 +2326,7 @@ "Kind": "Method", "Name": "get_MediaType", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2079,7 +2336,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -2090,7 +2347,7 @@ "Kind": "Method", "Name": "get_Type", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2098,7 +2355,7 @@ "Kind": "Method", "Name": "get_SubType", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2196,7 +2453,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.MediaTypeHeaderValue", @@ -2210,7 +2467,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -2295,7 +2552,7 @@ "Parameters": [ { "Name": "mediaType", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -2307,7 +2564,7 @@ "Parameters": [ { "Name": "mediaType", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "quality", @@ -2370,7 +2627,7 @@ "Kind": "Method", "Name": "get_Name", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2378,7 +2635,7 @@ "Kind": "Method", "Name": "get_Value", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2388,7 +2645,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -2450,7 +2707,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.NameValueHeaderValue", @@ -2464,7 +2721,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -2563,7 +2820,7 @@ }, { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.NameValueHeaderValue", @@ -2577,7 +2834,7 @@ "Parameters": [ { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -2589,11 +2846,11 @@ "Parameters": [ { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -2665,7 +2922,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.RangeConditionHeaderValue", @@ -2679,7 +2936,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -2741,7 +2998,7 @@ "Kind": "Method", "Name": "get_Unit", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2751,7 +3008,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -2807,7 +3064,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.RangeHeaderValue", @@ -2821,7 +3078,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -2936,6 +3193,37 @@ ], "GenericParameters": [] }, + { + "Name": "Microsoft.Net.Http.Headers.SameSiteMode", + "Visibility": "Public", + "Kind": "Enumeration", + "Sealed": true, + "ImplementedInterfaces": [], + "Members": [ + { + "Kind": "Field", + "Name": "None", + "Parameters": [], + "GenericParameter": [], + "Literal": "0" + }, + { + "Kind": "Field", + "Name": "Lax", + "Parameters": [], + "GenericParameter": [], + "Literal": "1" + }, + { + "Kind": "Field", + "Name": "Strict", + "Parameters": [], + "GenericParameter": [], + "Literal": "2" + } + ], + "GenericParameters": [] + }, { "Name": "Microsoft.Net.Http.Headers.SetCookieHeaderValue", "Visibility": "Public", @@ -2946,7 +3234,7 @@ "Kind": "Method", "Name": "get_Name", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2956,7 +3244,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -2967,7 +3255,7 @@ "Kind": "Method", "Name": "get_Value", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -2977,7 +3265,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -3030,7 +3318,7 @@ "Kind": "Method", "Name": "get_Domain", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -3040,7 +3328,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -3051,7 +3339,7 @@ "Kind": "Method", "Name": "get_Path", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -3061,7 +3349,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "System.Void", @@ -3089,6 +3377,27 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_SameSite", + "Parameters": [], + "ReturnType": "Microsoft.Net.Http.Headers.SameSiteMode", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_SameSite", + "Parameters": [ + { + "Name": "value", + "Type": "Microsoft.Net.Http.Headers.SameSiteMode" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "get_HttpOnly", @@ -3139,7 +3448,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.SetCookieHeaderValue", @@ -3153,7 +3462,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -3263,7 +3572,7 @@ "Parameters": [ { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -3275,11 +3584,11 @@ "Parameters": [ { "Name": "name", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -3298,7 +3607,7 @@ "Kind": "Method", "Name": "get_Value", "Parameters": [], - "ReturnType": "System.String", + "ReturnType": "Microsoft.Extensions.Primitives.StringSegment", "Visibility": "Public", "GenericParameter": [] }, @@ -3351,7 +3660,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "ReturnType": "Microsoft.Net.Http.Headers.StringWithQualityHeaderValue", @@ -3365,7 +3674,7 @@ "Parameters": [ { "Name": "input", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "parsedValue", @@ -3450,7 +3759,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" } ], "Visibility": "Public", @@ -3462,7 +3771,7 @@ "Parameters": [ { "Name": "value", - "Type": "System.String" + "Type": "Microsoft.Extensions.Primitives.StringSegment" }, { "Name": "quality", diff --git a/src/Microsoft.Net.Http.Headers/breakingchanges.netcore.json b/src/Microsoft.Net.Http.Headers/breakingchanges.netcore.json deleted file mode 100644 index 6748ae1f1e..0000000000 --- a/src/Microsoft.Net.Http.Headers/breakingchanges.netcore.json +++ /dev/null @@ -1,412 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public .ctor(System.String dispositionType)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.ContentDispositionHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.ContentDispositionHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.String get_DispositionType()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.String get_FileName()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.String get_FileNameStar()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.String get_Name()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.Void set_DispositionType(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.Void set_FileName(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.Void set_FileNameStar(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.Void set_Name(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.Void SetHttpFileName(System.String fileName)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentDispositionHeaderValue", - "MemberId": "public System.Void SetMimeFileName(System.String fileName)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public .ctor(System.String mediaType)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public .ctor(System.String mediaType, System.Double quality)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.MediaTypeHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.MediaTypeHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.String get_Boundary()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.String get_Charset()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.String get_MediaType()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.String get_SubType()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.String get_Type()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.Void set_Boundary(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.Void set_Charset(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.MediaTypeHeaderValue", - "MemberId": "public System.Void set_MediaType(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public .ctor(System.String name)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public .ctor(System.String name, System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.CookieHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.CookieHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public System.String get_Name()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public System.String get_Value()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public System.Void set_Name(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CookieHeaderValue", - "MemberId": "public System.Void set_Value(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public .ctor(System.String name)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public .ctor(System.String name, System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.NameValueHeaderValue Find(System.Collections.Generic.IList values, System.String name)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.NameValueHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.NameValueHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public System.String get_Name()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public System.String get_Value()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.NameValueHeaderValue", - "MemberId": "public System.Void set_Value(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public .ctor(System.String name)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public .ctor(System.String name, System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.SetCookieHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.SetCookieHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.String get_Domain()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.String get_Name()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.String get_Path()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.String get_Value()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.Void set_Domain(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.Void set_Name(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.Void set_Path(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.SetCookieHeaderValue", - "MemberId": "public System.Void set_Value(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "MemberId": "public .ctor(System.String tag)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "MemberId": "public .ctor(System.String tag, System.Boolean isWeak)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.EntityTagHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.EntityTagHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.EntityTagHeaderValue", - "MemberId": "public System.String get_Tag()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.StringWithQualityHeaderValue", - "MemberId": "public .ctor(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.StringWithQualityHeaderValue", - "MemberId": "public .ctor(System.String value, System.Double quality)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.StringWithQualityHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.StringWithQualityHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.StringWithQualityHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.StringWithQualityHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.StringWithQualityHeaderValue", - "MemberId": "public System.String get_Value()", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Net.Http.Headers.HeaderNames", - "MemberId": "public const System.String ContentMD5 = \"ContentMD5\"", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CacheControlHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.CacheControlHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CacheControlHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.CacheControlHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CacheControlHeaderValue", - "MemberId": "public System.Collections.Generic.ICollection get_NoCacheHeaders()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.CacheControlHeaderValue", - "MemberId": "public System.Collections.Generic.ICollection get_PrivateHeaders()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentRangeHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.ContentRangeHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentRangeHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.ContentRangeHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentRangeHeaderValue", - "MemberId": "public System.String get_Unit()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.ContentRangeHeaderValue", - "MemberId": "public System.Void set_Unit(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.RangeConditionHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.RangeConditionHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.RangeConditionHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.RangeConditionHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.RangeHeaderValue", - "MemberId": "public static Microsoft.Net.Http.Headers.RangeHeaderValue Parse(System.String input)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.RangeHeaderValue", - "MemberId": "public static System.Boolean TryParse(System.String input, out Microsoft.Net.Http.Headers.RangeHeaderValue parsedValue)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.RangeHeaderValue", - "MemberId": "public System.String get_Unit()", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Net.Http.Headers.RangeHeaderValue", - "MemberId": "public System.Void set_Unit(System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Net.Http.Headers.HeaderUtilities", - "MemberId": "public static System.Boolean TryParseDate(System.String input, out System.DateTimeOffset result)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Net.Http.Headers.HeaderUtilities", - "MemberId": "public static System.Boolean TryParseInt64(System.String value, out System.Int64 result)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Net.Http.Headers.HeaderUtilities", - "MemberId": "public static System.String FormatInt64(System.Int64 value)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Net.Http.Headers.HeaderUtilities", - "MemberId": "public static System.String RemoveQuotes(System.String input)", - "Kind": "Removal" - } -] \ No newline at end of file