AuthenticationService v0.3.0+7-g8a7f190
Public Member Functions | Static Public Attributes | Properties | List of all members
Joutsen.AuthenticationService.Application Class Reference

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

Public Member Functions

 Application (String name=null, String key=null)
 Creates a new instance for a token. More...
 
IEnumerable< ValidationResult > Validate (ValidationContext validationContext)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Attributes

const String VALIDATION_ERROR_MESSAGE = "The applicationName or the applicationKey is required and cannnot be empty or consist only of whitespaces."
 

Properties

String Key [get]
 The key of the application. More...
 
String Name [get]
 

Detailed Description

A class representing the json data structure of an application.

Since
0.2.0

Constructor & Destructor Documentation

◆ Application()

Joutsen.AuthenticationService.Application.Application ( String  name = null,
String  key = null 
)

Creates a new instance for a token.

Member Function Documentation

◆ Equals()

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

◆ GetHashCode()

override int Joutsen.AuthenticationService.Application.GetHashCode ( )

◆ Validate()

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

Member Data Documentation

◆ VALIDATION_ERROR_MESSAGE

const String Joutsen.AuthenticationService.Application.VALIDATION_ERROR_MESSAGE = "The applicationName or the applicationKey is required and cannnot be empty or consist only of whitespaces."
static

Property Documentation

◆ Key

String Joutsen.AuthenticationService.Application.Key
get

The key of the application.

◆ Name

String Joutsen.AuthenticationService.Application.Name
get