Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Paiwise.IIdentityApplicationState Interface Reference

Interface for identity applications. More...

Inheritance diagram for Paiwise.IIdentityApplicationState:
Paiwise.IIdentityApplication Paiwise.IdentityApplicationState

Public Member Functions

void ClaimValid (string Claim, object Service)
 An identity authenticator service validates a claim. More...
 
void ClaimInvalid (string Claim, string Reason, string ReasonLanguage, string ReasonCode, object Service)
 An identity authenticator service invalidates a claim. More...
 
void PhotoValid (IPhoto Photo, object Service)
 An identity authenticator service validates a photo. More...
 
void PhotoInvalid (IPhoto Photo, string Reason, string ReasonLanguage, string ReasonCode, object Service)
 An identity authenticator service invalidates a photo. More...
 
void ReportError (string Error, string ErrorLanguage, string ErrorCode, ValidationErrorType ErrorType, object Service, params KeyValuePair< string, object >[] Tags)
 Reports an error encountered during validation. More...
 
void ValidateAllClaims ()
 Validates all claims. More...
 
void ValidateAllPhotos ()
 Validates all photos More...
 
void InvalidateAllClaims (string Reason, string ReasonLanguage, string ReasonCode)
 Invalidates all claims. More...
 
void InvalidateAllPhotos (string Reason, string ReasonLanguage, string ReasonCode)
 Invalidates all photos More...
 
void AddPotentialClaims (string Claim, object Value, bool InformUser, object Service)
 Adds potential claims to the application that can be used in a subsequent applcation. Can be used by preview applications to suggest claims that could be added to the application automatically, to simplify user experience. More...
 

Properties

IdentityState State [get]
 Current state of the legal identity application. More...
 
bool Preview [get]
 If the application is a preview of an application. Previewed applications should not be persisted. More...
 
IAccount Account [get]
 Account over which the application was made. More...
 
PersonalInformation PersonalInformation [get]
 Personal information extracted from Claims. More...
 
KeyValuePair< string, object >[] Claims [get]
 Full set of claims made regarding the identity, as meta-data tags. More...
 
IEnumerable< IPhotoPhotos [get]
 Photos provided. More...
 
int NrPhotos [get]
 Number of photos provided. More...
 
IEnumerable< XmlDocument > Documents [get]
 Associated XML document attachments provided. More...
 
ValidClaim[] ValidatedClaims [get]
 Validated claims. More...
 
InvalidClaim[] InvalidatedClaims [get]
 Invalidated claims. More...
 
string[] UnvalidatedClaims [get]
 Unvalidated claims. More...
 
ValidPhoto[] ValidatedPhotos [get]
 Validated photos. More...
 
InvalidPhoto[] InvalidatedPhotos [get]
 Invalidated photos. More...
 
IPhoto[] UnvalidatedPhotos [get]
 Unvalidated photos. More...
 
ValidationError[] Errors [get]
 Any errors reported during validation. More...
 
bool HasErrors [get]
 If errors are reported. More...
 
int NrErrors [get]
 Number of errors reported. More...
 
object[] Services [get]
 Services involved in returning feedback on the application. More...
 
bool HasServices [get]
 If services have returned feedback on the application. More...
 
int NrServices [get]
 Number of services returning feedback on the the application. More...
 
bool? IsValid [get]
 If the application has been validated (true), invalidated (false), or not yet validated (null). More...
 
bool HasValidatedClaims [get]
 If the application has validated claims. More...
 
bool HasValidatedPhotos [get]
 If the application has validated photos. More...
 
KeyValuePair< string, object >[] Tags [get]
 Tags annotating the application, as reported by the different services. More...
 

Detailed Description

Interface for identity applications.

Definition at line 10 of file IIdentityApplicationState.cs.

Member Function Documentation

◆ AddPotentialClaims()

void Paiwise.IIdentityApplication.AddPotentialClaims ( string  Claim,
object  Value,
bool  InformUser,
object  Service 
)
inherited

Adds potential claims to the application that can be used in a subsequent applcation. Can be used by preview applications to suggest claims that could be added to the application automatically, to simplify user experience.

Parameters
ClaimThe claim that could be added.
ValueThe value of the claim.
InformUserIf the user can be informed by this potential claim, without risk of leaking sensitive personal information.
ServiceThe service adding the potential claim.

Implemented in Paiwise.IdentityApplication.

◆ ClaimInvalid()

void Paiwise.IIdentityApplication.ClaimInvalid ( string  Claim,
string  Reason,
string  ReasonLanguage,
string  ReasonCode,
object  Service 
)
inherited

An identity authenticator service invalidates a claim.

Parameters
ClaimClaim invalidated.
ReasonReason for invalidating claim.
ReasonLanguageISO code of language used for Reason .
ReasonCodeA machine-readable code for the reason for invalidating the claim. (Each service can define its own reason codes.)
ServiceService invalidating claim.

Implemented in Paiwise.IdentityApplication.

◆ ClaimValid()

void Paiwise.IIdentityApplication.ClaimValid ( string  Claim,
object  Service 
)
inherited

An identity authenticator service validates a claim.

Parameters
ClaimClaim validated.
ServiceService validating claim.

Implemented in Paiwise.IdentityApplication.

◆ InvalidateAllClaims()

void Paiwise.IIdentityApplication.InvalidateAllClaims ( string  Reason,
string  ReasonLanguage,
string  ReasonCode 
)
inherited

Invalidates all claims.

Parameters
ReasonReason for invalidating claim.
ReasonLanguageISO code of language used for Reason .
ReasonCodeA machine-readable code for the reason for invalidating the claim. (Each service can define its own reason codes.)

Implemented in Paiwise.IdentityApplication.

◆ InvalidateAllPhotos()

void Paiwise.IIdentityApplication.InvalidateAllPhotos ( string  Reason,
string  ReasonLanguage,
string  ReasonCode 
)
inherited

Invalidates all photos

Parameters
ReasonReason for invalidating claim.
ReasonLanguageISO code of language used for Reason .
ReasonCodeA machine-readable code for the reason for invalidating the claim. (Each service can define its own reason codes.)

Implemented in Paiwise.IdentityApplication.

◆ PhotoInvalid()

void Paiwise.IIdentityApplication.PhotoInvalid ( IPhoto  Photo,
string  Reason,
string  ReasonLanguage,
string  ReasonCode,
object  Service 
)
inherited

An identity authenticator service invalidates a photo.

Parameters
PhotoPhoto invalidated.
ReasonReason for invalidating photo.
ReasonLanguageISO code of language used for Reason .
ReasonCodeA machine-readable code for the reason for invalidating the photo. (Each service can define its own reason codes.)
ServiceService validating photo.

Implemented in Paiwise.IdentityApplication.

◆ PhotoValid()

void Paiwise.IIdentityApplication.PhotoValid ( IPhoto  Photo,
object  Service 
)
inherited

An identity authenticator service validates a photo.

Parameters
PhotoPhoto validated.
ServiceService validating photo.

Implemented in Paiwise.IdentityApplication.

◆ ReportError()

void Paiwise.IIdentityApplication.ReportError ( string  Error,
string  ErrorLanguage,
string  ErrorCode,
ValidationErrorType  ErrorType,
object  Service,
params KeyValuePair< string, object >[]  Tags 
)
inherited

Reports an error encountered during validation.

Parameters
ErrorError message.
ErrorLanguageISO code of language of Error .
ErrorCodeA machine-readable code for the error.
ErrorTypeType of error.
ServiceService validating photo.
TagsTags associated with error.

Implemented in Paiwise.IdentityApplication.

◆ ValidateAllClaims()

void Paiwise.IIdentityApplication.ValidateAllClaims ( )
inherited

Validates all claims.

Implemented in Paiwise.IdentityApplication.

◆ ValidateAllPhotos()

void Paiwise.IIdentityApplication.ValidateAllPhotos ( )
inherited

Validates all photos

Implemented in Paiwise.IdentityApplication.

Property Documentation

◆ Account

IAccount Paiwise.IIdentityApplication.Account
getinherited

Account over which the application was made.

Implemented in Paiwise.IdentityApplication.

Definition at line 23 of file IIdentityApplication.cs.

◆ Claims

KeyValuePair<string, object> [] Paiwise.IIdentityApplication.Claims
getinherited

Full set of claims made regarding the identity, as meta-data tags.

Implemented in Paiwise.IdentityApplication.

Definition at line 33 of file IIdentityApplication.cs.

◆ Documents

IEnumerable<XmlDocument> Paiwise.IIdentityApplication.Documents
getinherited

Associated XML document attachments provided.

Implemented in Paiwise.IdentityApplication.

Definition at line 48 of file IIdentityApplication.cs.

◆ Errors

ValidationError [] Paiwise.IIdentityApplication.Errors
getinherited

Any errors reported during validation.

Implemented in Paiwise.IdentityApplication.

Definition at line 133 of file IIdentityApplication.cs.

◆ HasErrors

bool Paiwise.IIdentityApplication.HasErrors
getinherited

If errors are reported.

Implemented in Paiwise.IdentityApplication.

Definition at line 138 of file IIdentityApplication.cs.

◆ HasServices

bool Paiwise.IIdentityApplication.HasServices
getinherited

If services have returned feedback on the application.

Implemented in Paiwise.IdentityApplication.

Definition at line 153 of file IIdentityApplication.cs.

◆ HasValidatedClaims

bool Paiwise.IIdentityApplication.HasValidatedClaims
getinherited

If the application has validated claims.

Implemented in Paiwise.IdentityApplication.

Definition at line 169 of file IIdentityApplication.cs.

◆ HasValidatedPhotos

bool Paiwise.IIdentityApplication.HasValidatedPhotos
getinherited

If the application has validated photos.

Implemented in Paiwise.IdentityApplication.

Definition at line 174 of file IIdentityApplication.cs.

◆ InvalidatedClaims

InvalidClaim [] Paiwise.IIdentityApplication.InvalidatedClaims
getinherited

Invalidated claims.

Implemented in Paiwise.IdentityApplication.

Definition at line 108 of file IIdentityApplication.cs.

◆ InvalidatedPhotos

InvalidPhoto [] Paiwise.IIdentityApplication.InvalidatedPhotos
getinherited

Invalidated photos.

Implemented in Paiwise.IdentityApplication.

Definition at line 123 of file IIdentityApplication.cs.

◆ IsValid

bool? Paiwise.IIdentityApplication.IsValid
getinherited

If the application has been validated (true), invalidated (false), or not yet validated (null).

Implemented in Paiwise.IdentityApplication.

Definition at line 164 of file IIdentityApplication.cs.

◆ NrErrors

int Paiwise.IIdentityApplication.NrErrors
getinherited

Number of errors reported.

Implemented in Paiwise.IdentityApplication.

Definition at line 143 of file IIdentityApplication.cs.

◆ NrPhotos

int Paiwise.IIdentityApplication.NrPhotos
getinherited

Number of photos provided.

Implemented in Paiwise.IdentityApplication.

Definition at line 43 of file IIdentityApplication.cs.

◆ NrServices

int Paiwise.IIdentityApplication.NrServices
getinherited

Number of services returning feedback on the the application.

Implemented in Paiwise.IdentityApplication.

Definition at line 158 of file IIdentityApplication.cs.

◆ PersonalInformation

PersonalInformation Paiwise.IIdentityApplication.PersonalInformation
getinherited

Personal information extracted from Claims.

Implemented in Paiwise.IdentityApplication.

Definition at line 28 of file IIdentityApplication.cs.

◆ Photos

IEnumerable<IPhoto> Paiwise.IIdentityApplication.Photos
getinherited

Photos provided.

Implemented in Paiwise.IdentityApplication.

Definition at line 38 of file IIdentityApplication.cs.

◆ Preview

bool Paiwise.IIdentityApplication.Preview
getinherited

If the application is a preview of an application. Previewed applications should not be persisted.

Implemented in Paiwise.IdentityApplication.

Definition at line 18 of file IIdentityApplication.cs.

◆ Services

object [] Paiwise.IIdentityApplication.Services
getinherited

Services involved in returning feedback on the application.

Implemented in Paiwise.IdentityApplication.

Definition at line 148 of file IIdentityApplication.cs.

◆ State

IdentityState Paiwise.IIdentityApplicationState.State
get

Current state of the legal identity application.

Implemented in Paiwise.IdentityApplicationState.

Definition at line 15 of file IIdentityApplicationState.cs.

◆ Tags

KeyValuePair<string, object> [] Paiwise.IIdentityApplication.Tags
getinherited

Tags annotating the application, as reported by the different services.

Implemented in Paiwise.IdentityApplication.

Definition at line 179 of file IIdentityApplication.cs.

◆ UnvalidatedClaims

string [] Paiwise.IIdentityApplication.UnvalidatedClaims
getinherited

Unvalidated claims.

Implemented in Paiwise.IdentityApplication.

Definition at line 113 of file IIdentityApplication.cs.

◆ UnvalidatedPhotos

IPhoto [] Paiwise.IIdentityApplication.UnvalidatedPhotos
getinherited

Unvalidated photos.

Implemented in Paiwise.IdentityApplication.

Definition at line 128 of file IIdentityApplication.cs.

◆ ValidatedClaims

ValidClaim [] Paiwise.IIdentityApplication.ValidatedClaims
getinherited

Validated claims.

Implemented in Paiwise.IdentityApplication.

Definition at line 103 of file IIdentityApplication.cs.

◆ ValidatedPhotos

ValidPhoto [] Paiwise.IIdentityApplication.ValidatedPhotos
getinherited

Validated photos.

Implemented in Paiwise.IdentityApplication.

Definition at line 118 of file IIdentityApplication.cs.


The documentation for this interface was generated from the following file: