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

A class representing the json data structure of a role. More...

Public Member Functions

 Role (String name, String username, String applicationName=null, String applicationKey=null, String description=null)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
- Public Member Functions inherited from Joutsen.AuthenticationService.RoleIdentifier
 RoleIdentifier (String name, String username, String applicationName=null, String applicationKey=null)
 
ErrorMessage Validate ()
 Validates the state of the model. More...
 

Properties

String Description [get, set]
 An optional description of the role. More...
 
- Properties inherited from Joutsen.AuthenticationService.RoleIdentifier
String Name [get]
 The name of the role. More...
 
String ApplicationKey [get]
 
String ApplicationName [get]
 The name of the application the role belongs to. More...
 
String Username [get]
 The name of the user woh has the role. More...
 

Detailed Description

A class representing the json data structure of a role.

Since
0.2.0

Constructor & Destructor Documentation

◆ Role()

Joutsen.AuthenticationService.Role.Role ( String  name,
String  username,
String  applicationName = null,
String  applicationKey = null,
String  description = null 
)

Member Function Documentation

◆ Equals()

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

◆ GetHashCode()

override int Joutsen.AuthenticationService.Role.GetHashCode ( )

Property Documentation

◆ Description

String Joutsen.AuthenticationService.Role.Description
getset

An optional description of the role.