ClaimActionCollectionMapExtensions.MapAllExcept Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears any current ClaimsActions and maps all values from the json user data as claims, excluding the specified types.
public:
[System::Runtime::CompilerServices::Extension]
static void MapAllExcept(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, ... cli::array <System::String ^> ^ exclusions);
public static void MapAllExcept (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, params string[] exclusions);
static member MapAllExcept : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string[] -> unit
<Extension()>
Public Sub MapAllExcept (collection As ClaimActionCollection, ParamArray exclusions As String())
Parameters
- collection
- ClaimActionCollection
- exclusions
- String[]
The types to exclude.