AuthenticationService v0.3.0+7-g8a7f190
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)
 
IEnumerable< ValidationResult > Validate (ValidationContext validationContext)
 

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()

IEnumerable< ValidationResult > Joutsen.AuthenticationService.RoleIdentifier.Validate ( ValidationContext  validationContext)

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.