AuthenticationService  v0.2.0
Public Member Functions | Properties | List of all members
Joutsen.AuthenticationService.User Class Reference

A class representing the json data structure of an user. More...

Public Member Functions

 User (String username, bool active)
 Creates a new instance. More...
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Properties

String Username [get, set]
 The name of the user. More...
 
bool IsActive [get, set]
 Is the user active and can be used to login or not. More...
 

Detailed Description

A class representing the json data structure of an user.

Since
0.2.0

Constructor & Destructor Documentation

◆ User()

Joutsen.AuthenticationService.User.User ( String  username,
bool  active 
)

Creates a new instance.

Member Function Documentation

◆ Equals()

override bool Joutsen.AuthenticationService.User.Equals ( object  obj)

◆ GetHashCode()

override int Joutsen.AuthenticationService.User.GetHashCode ( )

Property Documentation

◆ IsActive

bool Joutsen.AuthenticationService.User.IsActive
getset

Is the user active and can be used to login or not.

◆ Username

String Joutsen.AuthenticationService.User.Username
getset

The name of the user.