Skip to content

easyextensionsauthorizationhandlers AllowAnonymousAuthorizationHandler

BigMakCode edited this page Aug 5, 2024 · 1 revision

AllowAnonymousAuthorizationHandler Public class

Description

This authorization handler will bypass all requirements

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph EasyExtensions.Authorization.Handlers
  EasyExtensions.Authorization.Handlers.AllowAnonymousAuthorizationHandler[[AllowAnonymousAuthorizationHandler]]
  end
  subgraph Microsoft.AspNetCore.Authorization
Microsoft.AspNetCore.Authorization.IAuthorizationHandler[[IAuthorizationHandler]]
  end
Microsoft.AspNetCore.Authorization.IAuthorizationHandler --> EasyExtensions.Authorization.Handlers.AllowAnonymousAuthorizationHandler
Loading

Members

Methods

Public methods

Returns Name
Task HandleAsync(AuthorizationHandlerContext context)
IAuthorizationHandler contract.

Details

Summary

This authorization handler will bypass all requirements

Inheritance

  • IAuthorizationHandler

Constructors

AllowAnonymousAuthorizationHandler

public AllowAnonymousAuthorizationHandler()

Methods

HandleAsync

public virtual Task HandleAsync(AuthorizationHandlerContext context)
Arguments
Type Name Description
AuthorizationHandlerContext context
Summary

IAuthorizationHandler contract.

Returns

Generated with ModularDoc

Clone this wiki locally