1947 lines
59 KiB
JSON
1947 lines
59 KiB
JSON
{
|
|
"AssemblyIdentity": "Microsoft.AspNetCore.Authorization, Version=2.0.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
|
|
"Types": [
|
|
{
|
|
"Name": "Microsoft.Extensions.DependencyInjection.AuthorizationServiceCollectionExtensions",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"Abstract": true,
|
|
"Static": true,
|
|
"Sealed": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddAuthorization",
|
|
"Parameters": [
|
|
{
|
|
"Name": "services",
|
|
"Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddAuthorization",
|
|
"Parameters": [
|
|
{
|
|
"Name": "services",
|
|
"Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
|
|
},
|
|
{
|
|
"Name": "configure",
|
|
"Type": "System.Action<Microsoft.AspNetCore.Authorization.AuthorizationOptions>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "System.Attribute",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAllowAnonymous"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationFailure",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_FailCalled",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Boolean",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_FailedRequirements",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "ExplicitFail",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationFailure",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Failed",
|
|
"Parameters": [
|
|
{
|
|
"Name": "failed",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationFailure",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<T0>",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationHandler"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleRequirementAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "T0"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"Abstract": true,
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": [
|
|
{
|
|
"ParameterName": "TRequirement",
|
|
"ParameterPosition": 0,
|
|
"BaseTypeOrInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<T0, T1>",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationHandler"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleRequirementAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "T0"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "T1"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"Abstract": true,
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": [
|
|
{
|
|
"ParameterName": "TRequirement",
|
|
"ParameterPosition": 0,
|
|
"BaseTypeOrInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
]
|
|
},
|
|
{
|
|
"ParameterName": "TResource",
|
|
"ParameterPosition": 1,
|
|
"BaseTypeOrInterfaces": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Requirements",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_User",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Security.Claims.ClaimsPrincipal",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Resource",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Object",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_PendingRequirements",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_HasFailed",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Boolean",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_HasSucceeded",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Boolean",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Fail",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Void",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Succeed",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationOptions",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_InvokeHandlersAfterFailure",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Boolean",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_InvokeHandlersAfterFailure",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.Boolean"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_DefaultPolicy",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_DefaultPolicy",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddPolicy",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "policy",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddPolicy",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "configurePolicy",
|
|
"Type": "System.Action<Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetPolicy",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Requirements",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_AuthenticationSchemes",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IReadOnlyList<System.String>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Combine",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policies",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Combine",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policies",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "CombineAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policyProvider",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider"
|
|
},
|
|
{
|
|
"Name": "authorizeData",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
},
|
|
{
|
|
"Name": "authenticationSchemes",
|
|
"Type": "System.Collections.Generic.IEnumerable<System.String>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Requirements",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_Requirements",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_AuthenticationSchemes",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IList<System.String>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_AuthenticationSchemes",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.Collections.Generic.IList<System.String>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddAuthenticationSchemes",
|
|
"Parameters": [
|
|
{
|
|
"Name": "schemes",
|
|
"Type": "System.String[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddRequirements",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Combine",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policy",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireClaim",
|
|
"Parameters": [
|
|
{
|
|
"Name": "claimType",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "requiredValues",
|
|
"Type": "System.String[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireClaim",
|
|
"Parameters": [
|
|
{
|
|
"Name": "claimType",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "requiredValues",
|
|
"Type": "System.Collections.Generic.IEnumerable<System.String>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireClaim",
|
|
"Parameters": [
|
|
{
|
|
"Name": "claimType",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireRole",
|
|
"Parameters": [
|
|
{
|
|
"Name": "roles",
|
|
"Type": "System.String[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireRole",
|
|
"Parameters": [
|
|
{
|
|
"Name": "roles",
|
|
"Type": "System.Collections.Generic.IEnumerable<System.String>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireUserName",
|
|
"Parameters": [
|
|
{
|
|
"Name": "userName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireAuthenticatedUser",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireAssertion",
|
|
"Parameters": [
|
|
{
|
|
"Name": "handler",
|
|
"Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Boolean>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "RequireAssertion",
|
|
"Parameters": [
|
|
{
|
|
"Name": "handler",
|
|
"Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<System.Boolean>>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Build",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "authenticationSchemes",
|
|
"Type": "System.String[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policy",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationResult",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Succeeded",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Boolean",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Failure",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationFailure",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Success",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Failed",
|
|
"Parameters": [
|
|
{
|
|
"Name": "failure",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationFailure"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Failed",
|
|
"Parameters": [],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult",
|
|
"Static": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizationServiceExtensions",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"Abstract": true,
|
|
"Static": true,
|
|
"Sealed": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "service",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "service",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
},
|
|
{
|
|
"Name": "policy",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "service",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "policy",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationPolicy"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "service",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationService"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "policyName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.AuthorizeAttribute",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "System.Attribute",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizeData"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Policy",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_Policy",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Roles",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_Roles",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_AuthenticationSchemes",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_AuthenticationSchemes",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_ActiveAuthenticationSchemes",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_ActiveAuthenticationSchemes",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policy",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationEvaluator",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Evaluate",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerContextFactory",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "CreateContext",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationHandlerProvider",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetHandlersAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>>",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "handlers",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetDefaultPolicyAsync",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetPolicyAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policyName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "options",
|
|
"Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.DefaultAuthorizationService",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationService"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
},
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationService",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
},
|
|
{
|
|
"Name": "policyName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationService",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policyProvider",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider"
|
|
},
|
|
{
|
|
"Name": "handlers",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider"
|
|
},
|
|
{
|
|
"Name": "logger",
|
|
"Type": "Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Authorization.DefaultAuthorizationService>"
|
|
},
|
|
{
|
|
"Name": "contextFactory",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory"
|
|
},
|
|
{
|
|
"Name": "evaluator",
|
|
"Type": "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator"
|
|
},
|
|
{
|
|
"Name": "options",
|
|
"Type": "Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAllowAnonymous",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Evaluate",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationResult",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "CreateContext",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
},
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationHandlerProvider",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetHandlersAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>>",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetPolicyAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "policyName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetDefaultPolicyAsync",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizationService",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
},
|
|
{
|
|
"Name": "requirements",
|
|
"Type": "System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AuthorizeAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "user",
|
|
"Type": "System.Security.Claims.ClaimsPrincipal"
|
|
},
|
|
{
|
|
"Name": "resource",
|
|
"Type": "System.Object"
|
|
},
|
|
{
|
|
"Name": "policyName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationResult>",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.IAuthorizeData",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Policy",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_Policy",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Roles",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_Roles",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_AuthenticationSchemes",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_AuthenticationSchemes",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationHandler",
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Handler",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<System.Boolean>>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "handler",
|
|
"Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Boolean>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "handler",
|
|
"Type": "System.Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<System.Boolean>>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement>",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_ClaimType",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_AllowedValues",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<System.String>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleRequirementAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "claimType",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "allowedValues",
|
|
"Type": "System.Collections.Generic.IEnumerable<System.String>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement>",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleRequirementAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "Microsoft.AspNetCore.Authorization.Infrastructure.DenyAnonymousAuthorizationRequirement"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement>",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_RequiredName",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleRequirementAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "Microsoft.AspNetCore.Authorization.Infrastructure.NameAuthorizationRequirement"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "requiredName",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.OperationAuthorizationRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
],
|
|
"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": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.PassThroughAuthorizationHandler",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationHandler"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.AspNetCore.Authorization.IAuthorizationHandler",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "Microsoft.AspNetCore.Authorization.AuthorizationHandler<Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement>",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.AspNetCore.Authorization.IAuthorizationRequirement"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_AllowedRoles",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<System.String>",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "HandleRequirementAsync",
|
|
"Parameters": [
|
|
{
|
|
"Name": "context",
|
|
"Type": "Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext"
|
|
},
|
|
{
|
|
"Name": "requirement",
|
|
"Type": "Microsoft.AspNetCore.Authorization.Infrastructure.RolesAuthorizationRequirement"
|
|
}
|
|
],
|
|
"ReturnType": "System.Threading.Tasks.Task",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "allowedRoles",
|
|
"Type": "System.Collections.Generic.IEnumerable<System.String>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
}
|
|
]
|
|
} |