A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authorization.authorizeattribute below:

AuthorizeAttribute Class (Microsoft.AspNetCore.Authorization) | Microsoft Learn

AuthorizeAttribute Class Definition

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
Inheritance
Attributes
Implements
Constructors Properties ActiveAuthenticationSchemes

Obsolete.

Gets or sets a comma delimited list of schemes from which user information is constructed.

AuthenticationSchemes

Gets or sets a comma delimited list of schemes from which user information is constructed.

Policy

Gets or sets the policy name that determines access to the resource.

Roles

Gets or sets a comma delimited list of roles that are allowed to access the resource.

Methods

RetroSearch 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