Interface IIdentityProvider

Namespace
Cratis.Chronicle.Identities
Assembly
Cratis.Chronicle.dll

Defines a system that can provide the current Identity.

public interface IIdentityProvider
Extension Methods

Methods

ClearCurrentIdentity()

Clears the current identity.

void ClearCurrentIdentity()

GetCurrent()

Gets the current identity.

Identity GetCurrent()

Returns

Identity

The Identity.

SetCurrentIdentity(Identity)

Sets the current identity.

void SetCurrentIdentity(Identity identity)

Parameters

identity Identity

Identity to set.