Interface IDemoIdentityService
- Namespace
- ReferenceApplication.Web.Authentication.Demo
- Assembly
- ReferenceApplication.Web.dll
Creates the fixed demonstration identity used to exercise walkthrough governance outcomes.
public interface IDemoIdentityService
Methods
CreatePrincipal(bool, bool)
Creates an authenticated demo principal with only the selected fixed claims.
ClaimsPrincipal CreatePrincipal(bool includeAdministratorRole, bool includeConsequentialCapability)
Parameters
includeAdministratorRoleboolWhether to add the configured administrator role.
includeConsequentialCapabilityboolWhether to add the walkthrough capability grant.
Returns
- ClaimsPrincipal
The demo principal.