Important
Some information relates to prerelease product that may be substantially modified before itâs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies that the class or method that this attribute is applied to requires the specified authorization.
public ref class AuthorizeAttribute : Attribute, Microsoft::AspNetCore::Authorization::IAuthorizeData
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public class AuthorizeAttribute : Attribute, Microsoft.AspNetCore.Authorization.IAuthorizeData
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
type AuthorizeAttribute = class
inherit Attribute
interface IAuthorizeData
Public Class AuthorizeAttribute
Inherits Attribute
Implements IAuthorizeData
Obsolete.
Gets or sets a comma delimited list of schemes from which user information is constructed.
AuthenticationSchemesGets or sets a comma delimited list of schemes from which user information is constructed.
PolicyGets or sets the policy name that determines access to the resource.
RolesGets or sets a comma delimited list of roles that are allowed to access the resource.
MethodsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4