MediatR.Behaviors.Authorization
A simple request authorization package that allows you to build and run request specific authorization requirements before your request handler is called.
File Explorer
Download Latest Version (.zip)- GlobalAuthorizer.cs
- MustBeAuthenticatedRequirement.cs
- CurrentUserService.cs
- Handler.cs
- Request.cs
- Response.cs
- GlobalAuthorizerExample.csproj
- Program.cs
- RequestAuthorizationBehavior.cs
- AuthorizationPipelineHandlerOptions.cs
- DefaultUnauthorizedHandlerStrategy.cs
- UnauthorizedException.cs
- AddAuthorizersFromAssemblyExtension.cs
- AddMediatorAuthorizationExtension.cs
- IAuthorizationHandler.cs
- IAuthorizationRequirement.cs
- IAuthorizer.cs
- IUnauthorizedResultHandler.cs
- AbstractRequestAuthorizer.cs
- AuthorizationResult.cs
- MediatR.Behaviors.Authorization.csproj
- RequestAuthorizationBehaviorTests.cs
- UnauthorizedExceptionTests.cs
- AddAuthorizersFromAssemblyExtensionTests.cs
- AddMediatorAuthorizationExtensionTests.cs
- AuthorizationHandlerTests.cs
- AbstractRequestAuthorizerTests.cs
- AuthorizationResultTests.cs
- MediatR.Behaviors.Authorization.Tests.csproj
- .gitignore
- LICENSE
- MediatR.Behaviors.Authorization.sln
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/AustinDavies/MediatR.Behaviors.Authorization
Downloads the entire project code from GitHub to your computer.
cd MediatR.Behaviors.Authorization
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet add package MediatR.Behaviors.Authorization
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
