C# Class AuthenticationAndAuthorization.CustomPolicy.Attributes.MinimumAgeAuthorizeAttribute

通过将参数映射到一个字符串,用于检索相应的授权策略。
Inheritance: AuthorizeAttribute
Show file Open project: jeremyjone/dotnet-study-road

Public Methods

Method Description
MinimumAgeAuthorizeAttribute ( int age ) : Microsoft.AspNetCore.Authorization

Method Details

MinimumAgeAuthorizeAttribute() public method

public MinimumAgeAuthorizeAttribute ( int age ) : Microsoft.AspNetCore.Authorization
age int
return Microsoft.AspNetCore.Authorization