Adds support for local APIs
public static IServiceCollection AddLocalApiAuthentication(IServiceCollection services, Func<ClaimsPrincipal, Task<ClaimsPrincipal>> transformationFunc)
- Returns:
- IServiceCollection
Parameters
services
IServiceCollection
The service collection
transformationFunc
Func<ClaimsPrincipal, Task<ClaimsPrincipal>>
Function to transform the resulting principal