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

A class representing the json data structure that can identify a role. More...

Public Member Functions

 RoleIdentifier (String name, String username, String applicationName=null, String applicationKey=null)
 
ErrorMessage Validate ()
 Validates the state of the model. More...
 

Properties

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 that can identify a role.

Since
0.2.0

Constructor & Destructor Documentation

◆ RoleIdentifier()

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

Member Function Documentation

◆ Validate()

ErrorMessage Joutsen.AuthenticationService.RoleIdentifier.Validate ( )

Validates the state of the model.

Implements Joutsen.AuthenticationService.ValidatableModel.

Property Documentation

◆ ApplicationKey

String Joutsen.AuthenticationService.RoleIdentifier.ApplicationKey
get

◆ ApplicationName

String Joutsen.AuthenticationService.RoleIdentifier.ApplicationName
get

The name of the application the role belongs to.

◆ Name

String Joutsen.AuthenticationService.RoleIdentifier.Name
get

The name of the role.

◆ Username

String Joutsen.AuthenticationService.RoleIdentifier.Username
get

The name of the user woh has the role.