![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Contains information about a legal identity application. More...
Public Member Functions | |
| IdentityApplication (string LegalId, string Namespace, bool Preview, PersonalInformation PersonalInformation, KeyValuePair< string, object >[] Claims, IEnumerable< IPhoto > Photos, IAccount Account) | |
| Contains information about a legal identity application. More... | |
| IdentityApplication (string LegalId, string Namespace, bool Preview, PersonalInformation PersonalInformation, KeyValuePair< string, object >[] Claims, IEnumerable< IPhoto > Photos, IEnumerable< XmlDocument > Documents, IAccount Account) | |
| Contains information about a legal identity application. More... | |
| IdentityApplication (IdentityApplication Application) | |
| Contains information about a legal identity application. More... | |
| 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 | LogResults () |
| Logs the results of the validation process to the event log. More... | |
| string | GetClientErrorMessageXml (out string Language, string DefaultMessage, string DefaultMessageCode, string DefaultLanguage) |
| Gets the XML of the client error message. More... | |
| string | GetIdentityReviewXml () |
| Gets information about the review as XML. 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... | |
| bool | TryGetValue< T > (string Claim, object Value, object Service, out T TypedValue) |
| Tries to get a typed claim value from an untyped claim value. 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 | |
| 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< IPhoto > | Photos [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... | |
| PotentialClaim[] | PotentialClaims [get] |
| Potential claims 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... | |
| bool | HasPotentialClaims [get] |
| If the application has potential claims. More... | |
| KeyValuePair< string, object >[] | Tags [get] |
| Tags annotating the application, as reported by the different services. More... | |
| IValidationError | FirstError [get] |
| First error encountered during validation. More... | |
Contains information about a legal identity application.
Definition at line 16 of file IdentityApplication.cs.
| Paiwise.IdentityApplication.IdentityApplication | ( | string | LegalId, |
| string | Namespace, | ||
| bool | Preview, | ||
| PersonalInformation | PersonalInformation, | ||
| KeyValuePair< string, object >[] | Claims, | ||
| IEnumerable< IPhoto > | Photos, | ||
| IAccount | Account | ||
| ) |
Contains information about a legal identity application.
| LegalId | Legal ID |
| Namespace | Namespace used in request. |
| Preview | If the application is a preview of an application. Previewed applications should not be persisted. |
| PersonalInformation | Personal information extracted from Claims . |
| Claims | Full set of claims made regarding the identity, as meta-data tags. |
| Photos | Photos provided. |
| Account | Account over which the application was made. |
Definition at line 59 of file IdentityApplication.cs.
| Paiwise.IdentityApplication.IdentityApplication | ( | string | LegalId, |
| string | Namespace, | ||
| bool | Preview, | ||
| PersonalInformation | PersonalInformation, | ||
| KeyValuePair< string, object >[] | Claims, | ||
| IEnumerable< IPhoto > | Photos, | ||
| IEnumerable< XmlDocument > | Documents, | ||
| IAccount | Account | ||
| ) |
Contains information about a legal identity application.
| LegalId | Legal ID |
| Namespace | Namespace used in request. |
| Preview | If the application is a preview of an application. Previewed applications should not be persisted. |
| PersonalInformation | Personal information extracted from Claims . |
| Claims | Full set of claims made regarding the identity, as meta-data tags. |
| Photos | Photos provided. |
| Documents | Associated XML document attachments provided. |
| Account | Account over which the application was made. |
Definition at line 81 of file IdentityApplication.cs.
| Paiwise.IdentityApplication.IdentityApplication | ( | IdentityApplication | Application | ) |
Contains information about a legal identity application.
| Application | Application to duplicate. |
Definition at line 109 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.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.
| Claim | The claim that could be added. |
| Value | The value of the claim. |
| InformUser | If the user can be informed by this potential claim, without risk of leaking sensitive personal information. |
| Service | The service adding the potential claim. |
Implements Paiwise.IIdentityApplication.
Definition at line 974 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.ClaimInvalid | ( | string | Claim, |
| string | Reason, | ||
| string | ReasonLanguage, | ||
| string | ReasonCode, | ||
| object | Service | ||
| ) |
An identity authenticator service invalidates a claim.
| Claim | Claim invalidated. |
| Reason | Reason for invalidating claim. |
| ReasonLanguage | ISO code of language used for Reason . |
| ReasonCode | A machine-readable code for the reason for invalidating the claim. (Each service can define its own reason codes.) |
| Service | Service invalidating claim. |
Implements Paiwise.IIdentityApplication.
Definition at line 195 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.ClaimValid | ( | string | Claim, |
| object | Service | ||
| ) |
An identity authenticator service validates a claim.
| Claim | Claim validated. |
| Service | Service validating claim. |
Implements Paiwise.IIdentityApplication.
Definition at line 169 of file IdentityApplication.cs.
| string Paiwise.IdentityApplication.GetClientErrorMessageXml | ( | out string | Language, |
| string | DefaultMessage, | ||
| string | DefaultMessageCode, | ||
| string | DefaultLanguage | ||
| ) |
Gets the XML of the client error message.
| Language | Language used for main message. |
| DefaultMessage | Default message, in case there is no error message available. |
| DefaultMessageCode | Default message code, if there is no error message available. |
| DefaultLanguage | Default language code, if there is no error message available. |
Definition at line 701 of file IdentityApplication.cs.
| string Paiwise.IdentityApplication.GetIdentityReviewXml | ( | ) |
Gets information about the review as XML.
Definition at line 733 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.InvalidateAllClaims | ( | string | Reason, |
| string | ReasonLanguage, | ||
| string | ReasonCode | ||
| ) |
Invalidates all claims.
| Reason | Reason for invalidating claim. |
| ReasonLanguage | ISO code of language used for Reason . |
| ReasonCode | A machine-readable code for the reason for invalidating the claim. (Each service can define its own reason codes.) |
Implements Paiwise.IIdentityApplication.
Definition at line 916 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.InvalidateAllPhotos | ( | string | Reason, |
| string | ReasonLanguage, | ||
| string | ReasonCode | ||
| ) |
Invalidates all photos
| Reason | Reason for invalidating claim. |
| ReasonLanguage | ISO code of language used for Reason . |
| ReasonCode | A machine-readable code for the reason for invalidating the claim. (Each service can define its own reason codes.) |
Implements Paiwise.IIdentityApplication.
Definition at line 931 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.LogResults | ( | ) |
Logs the results of the validation process to the event log.
Definition at line 629 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.PhotoInvalid | ( | IPhoto | Photo, |
| string | Reason, | ||
| string | ReasonLanguage, | ||
| string | ReasonCode, | ||
| object | Service | ||
| ) |
An identity authenticator service invalidates a photo.
| Photo | Photo invalidated. |
| Reason | Reason for invalidating photo. |
| ReasonLanguage | ISO code of language used for Reason . |
| ReasonCode | A machine-readable code for the reason for invalidating the photo. (Each service can define its own reason codes.) |
| Service | Service validating photo. |
Implements Paiwise.IIdentityApplication.
Definition at line 242 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.PhotoValid | ( | IPhoto | Photo, |
| object | Service | ||
| ) |
An identity authenticator service validates a photo.
Implements Paiwise.IIdentityApplication.
Definition at line 218 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.ReportError | ( | string | Error, |
| string | ErrorLanguage, | ||
| string | ErrorCode, | ||
| ValidationErrorType | ErrorType, | ||
| object | Service, | ||
| params KeyValuePair< string, object >[] | Tags | ||
| ) |
Reports an error encountered during validation.
| Error | Error message. |
| ErrorLanguage | ISO code of language of Error . |
| ErrorCode | A machine-readable code for the error. |
| ErrorType | Type of error. |
| Service | Service validating photo. |
| Tags | Tags associated with error. |
Implements Paiwise.IIdentityApplication.
Definition at line 267 of file IdentityApplication.cs.
| bool Paiwise.IdentityApplication.TryGetValue< T > | ( | string | Claim, |
| object | Value, | ||
| object | Service, | ||
| out T | TypedValue | ||
| ) |
Tries to get a typed claim value from an untyped claim value.
| T | Expected type. |
| Claim | Claim identifier. |
| Value | Untyped value. |
| Service | Service requesting the value. |
| TypedValue | Typed value, if successful. |
Definition at line 947 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.ValidateAllClaims | ( | ) |
Validates all claims.
Implements Paiwise.IIdentityApplication.
Definition at line 894 of file IdentityApplication.cs.
| void Paiwise.IdentityApplication.ValidateAllPhotos | ( | ) |
Validates all photos
Implements Paiwise.IIdentityApplication.
Definition at line 903 of file IdentityApplication.cs.
|
get |
Account over which the application was made.
Implements Paiwise.IIdentityApplication.
Definition at line 137 of file IdentityApplication.cs.
|
get |
Full set of claims made regarding the identity, as meta-data tags.
Implements Paiwise.IIdentityApplication.
Definition at line 147 of file IdentityApplication.cs.
|
get |
Associated XML document attachments provided.
Implements Paiwise.IIdentityApplication.
Definition at line 162 of file IdentityApplication.cs.
|
get |
Any errors reported during validation.
Implements Paiwise.IIdentityApplication.
Definition at line 395 of file IdentityApplication.cs.
|
get |
First error encountered during validation.
Definition at line 673 of file IdentityApplication.cs.
|
get |
If errors are reported.
Implements Paiwise.IIdentityApplication.
Definition at line 409 of file IdentityApplication.cs.
|
get |
If the application has potential claims.
Definition at line 541 of file IdentityApplication.cs.
|
get |
If services have returned feedback on the application.
Implements Paiwise.IIdentityApplication.
Definition at line 451 of file IdentityApplication.cs.
|
get |
If the application has validated claims.
Implements Paiwise.IIdentityApplication.
Definition at line 513 of file IdentityApplication.cs.
|
get |
If the application has validated photos.
Implements Paiwise.IIdentityApplication.
Definition at line 527 of file IdentityApplication.cs.
|
get |
Invalidated claims.
Implements Paiwise.IIdentityApplication.
Definition at line 299 of file IdentityApplication.cs.
|
get |
Invalidated photos.
Implements Paiwise.IIdentityApplication.
Definition at line 347 of file IdentityApplication.cs.
|
get |
If the application has been validated (true), invalidated (false), or not yet validated (null).
Implements Paiwise.IIdentityApplication.
Definition at line 480 of file IdentityApplication.cs.
|
get |
Number of errors reported.
Implements Paiwise.IIdentityApplication.
Definition at line 423 of file IdentityApplication.cs.
|
get |
Number of photos provided.
Implements Paiwise.IIdentityApplication.
Definition at line 157 of file IdentityApplication.cs.
|
get |
Number of services returning feedback on the the application.
Implements Paiwise.IIdentityApplication.
Definition at line 465 of file IdentityApplication.cs.
|
get |
Personal information extracted from Claims.
Implements Paiwise.IIdentityApplication.
Definition at line 142 of file IdentityApplication.cs.
|
get |
Photos provided.
Implements Paiwise.IIdentityApplication.
Definition at line 152 of file IdentityApplication.cs.
|
get |
Potential claims
Definition at line 379 of file IdentityApplication.cs.
|
get |
If the application is a preview of an application. Previewed applications should not be persisted.
Implements Paiwise.IIdentityApplication.
Definition at line 132 of file IdentityApplication.cs.
|
get |
Services involved in returning feedback on the application.
Implements Paiwise.IIdentityApplication.
Definition at line 437 of file IdentityApplication.cs.
|
get |
Tags annotating the application, as reported by the different services.
Implements Paiwise.IIdentityApplication.
Definition at line 555 of file IdentityApplication.cs.
|
get |
Unvalidated claims.
Implements Paiwise.IIdentityApplication.
Definition at line 315 of file IdentityApplication.cs.
|
get |
Unvalidated photos.
Implements Paiwise.IIdentityApplication.
Definition at line 363 of file IdentityApplication.cs.
|
get |
Validated claims.
Implements Paiwise.IIdentityApplication.
Definition at line 283 of file IdentityApplication.cs.
|
get |
Validated photos.
Implements Paiwise.IIdentityApplication.
Definition at line 331 of file IdentityApplication.cs.