Class UserProfileRefreshedEventArgs
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A stored user's name and/or email, refreshed from a sign-in the host trusts.
public class UserProfileRefreshedEventArgs : EventArgs
- Inheritance
-
UserProfileRefreshedEventArgs
- Inherited Members
Remarks
A class rather than a record because it derives from EventArgs, matching UserCreatedEventArgs.
Constructors
UserProfileRefreshedEventArgs(IUser, string, string, ClaimsPrincipal)
public UserProfileRefreshedEventArgs(IUser user, string name, string email, ClaimsPrincipal principal)
Parameters
userIUsernamestringemailstringprincipalClaimsPrincipal
Properties
The email written, or null when the email was left unchanged.
public string EMail { get; }
Property Value
Name
The name written, or null when the name was left unchanged.
public string Name { get; }
Property Value
Principal
The principal whose claims the values came from — the actor an audit entry needs.
public ClaimsPrincipal Principal { get; }
Property Value
User
The user as stored before the refresh.
public IUser User { get; }