Altinn / altinn-accesstoken

Client and server libraries for simple authorization of API calls
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Introduced generic access token handler for requirement T #16

Closed acn-sbuad closed 1 year ago

acn-sbuad commented 1 year ago

Description

Created a generic access token handler where requirement can be injected in Program.cs. No longer setting context failed if requirement isn't met as there might be multiple handlers. Only setting succeeded if everything runs ok.

Base class for actual validation of access token to avoid duplication of code.

Related Issue(s)

Verification

Documentation

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

75.8% 75.8% Coverage
0.0% 0.0% Duplication