Interface IIdentityProvider
- Namespace
- Cratis.Chronicle.Identities
- Assembly
- Cratis.Chronicle.dll
Defines a system that can provide the current Identity.
public interface IIdentityProvider
Methods
ClearCurrentIdentity()
Clears the current identity.
void ClearCurrentIdentity()
GetCurrent()
Gets the current identity.
Identity GetCurrent()
Returns
SetCurrentIdentity(Identity)
Sets the current identity.
void SetCurrentIdentity(Identity identity)
Parameters
identity
IdentityIdentity to set.