OData / WebApiAuthorization

Other
9 stars 7 forks source link

Fix null reference exception if SchemeName not set #6

Open mikenorgate opened 3 years ago

mikenorgate commented 3 years ago

This fixes a null reference exception that occurs when extracting the permissions from the model if the SchemeName has not been set.

Given that SchemeName is not currently used there is no requirement for it to be set, however this is working on the assumption that going forward a null SchemeName would result in the permissions being applied to all auth schemes