Show / Hide Table of Contents

Interface IValidUser

Represents a user that is restricted in time, aka only valid from and to a date..

Inherited Members
IUser.NormalizedUserName
IUser.EmailConfirmed
IUser.PhoneNumber
IUser.PhoneNumberConfirmed
IUser.LastSignedIn
IUser.GetClaims(String)
IUserIdentifiers.UserName
IUserIdentifiers.IsSystemUser
IUniqueIdentifier.Id
IHaveEmail.Email
IEventAggregate.RaiseEvent(IEvent)
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IValidUser : IUser, IUserIdentifiers, IUniqueIdentifier, IHaveEmail, IEventAggregate

Properties

ValidFrom

Gets or sets the System.DateTime from which the user is valid to sign-in.

Declaration
DateTime ValidFrom { get; set; }
Property Value
System.DateTime

ValidTo

Gets or sets the System.DateTime on which the user is valid to sign-in.

Declaration
DateTime? ValidTo { get; set; }
Property Value
System.Nullable<System.DateTime>

Methods

IsValid()

Gets if the user is valid to sign-in.

Declaration
bool IsValid()
Returns
Boolean

true if the user is valid to sign-in; otherwise false.

Back to top Generated by DocFX