Interface IIdentityProviderResultHandler
- Namespace
- Cratis.Applications.Identity
- Assembly
- Cratis.Applications.dll
Defines the system that handles IdentityProviderResult.
public interface IIdentityProviderResultHandler
- Extension Methods
Methods
GenerateFromCurrentContext()
Generates an IdentityProviderResult from the current HTTP context.
Task<IdentityProviderResult> GenerateFromCurrentContext()
Returns
ModifyDetails<TDetails>(Func<TDetails, TDetails>)
Modifies the details of the identity stored in the identity cookie.
Task ModifyDetails<TDetails>(Func<TDetails, TDetails> details)
Parameters
detailsFunc<TDetails, TDetails>Function to modify the details.
Returns
- Task
Awaitable task.
Type Parameters
TDetailsType of the details.
Write(IdentityProviderResult)
Writes the IdentityProviderResult to the response.
Task Write(IdentityProviderResult result)
Parameters
resultIdentityProviderResult
Returns
- Task
Awaitable task.