Table of Contents

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

user IUser
name string
email string
principal ClaimsPrincipal

Properties

EMail

The email written, or null when the email was left unchanged.

public string EMail { get; }

Property Value

string

Name

The name written, or null when the name was left unchanged.

public string Name { get; }

Property Value

string

Principal

The principal whose claims the values came from — the actor an audit entry needs.

public ClaimsPrincipal Principal { get; }

Property Value

ClaimsPrincipal

User

The user as stored before the refresh.

public IUser User { get; }

Property Value

IUser