AuthenticationService v0.3.0+7-g8a7f190
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 ()
 Creates a new instance. More...
 
 User (String username, long userId, bool active)
 Creates a new instance. More...
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Properties

long Id [get, set]
 The name of the user. More...
 
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() [1/2]

Joutsen.AuthenticationService.User.User ( )

Creates a new instance.

◆ User() [2/2]

Joutsen.AuthenticationService.User.User ( String  username,
long  userId,
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

◆ Id

long Joutsen.AuthenticationService.User.Id
getset

The name of the user.

Since
0.3.0

◆ 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.