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

Interface for service providers that can validate personal numbers. More...

Inheritance diagram for Paiwise.IPersonalNumberValidator:
Waher.Runtime.Inventory.IProcessingSupport< string > Waher.Service.IoTBroker.Legal.Identity.PersonalNumberValidator

Public Member Functions

Task< bool?> IsValid (string CountryCode, string PersonalNumber)
 Checks if a personal number is valid, in accordance with registered personal number schemes. More...
 
Task< string > Normalize (string CountryCode, string PersonalNumber)
 Normmalizes a personal number entered in lax mode. More...
 
Grade Supports (T Object)
 If the interface understands objects such as Object . More...
 

Detailed Description

Interface for service providers that can validate personal numbers.

Definition at line 9 of file IPersonalNumberValidator.cs.

Member Function Documentation

◆ IsValid()

Task< bool?> Paiwise.IPersonalNumberValidator.IsValid ( string  CountryCode,
string  PersonalNumber 
)

Checks if a personal number is valid, in accordance with registered personal number schemes.

Parameters
CountryCodeISO 3166-1 Country Codes.
PersonalNumberPersonal Number
Returns
true = valid false = invalid null = no registered schemes for country.

Implemented in Waher.Service.IoTBroker.Legal.Identity.PersonalNumberValidator.

◆ Normalize()

Task< string > Paiwise.IPersonalNumberValidator.Normalize ( string  CountryCode,
string  PersonalNumber 
)

Normmalizes a personal number entered in lax mode.

Parameters
CountryCodeISO 3166-1 Country Codes.
PersonalNumberPersonal number.
Returns
Normalized personal number.

Implemented in Waher.Service.IoTBroker.Legal.Identity.PersonalNumberValidator.

◆ Supports()

Grade Waher.Runtime.Inventory.IProcessingSupport< T >.Supports ( Object)
inherited

If the interface understands objects such as Object .

Parameters
ObjectObject
Returns
How well objects of this type are supported.

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