Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IAuthenticationResult.cs
1using System.Collections.Generic;
3
4namespace Paiwise
5{
9 public enum ErrorType
10 {
14 None,
15
19 Client,
20
24 Server,
25
29 Service
30 }
31
35 [DefaultImplementation(typeof(AuthenticationResult))]
36 public interface IAuthenticationResult
37 {
43 bool? Result { get; }
44
49
53 string ErrorMessage { get; }
54
58 string ErrorLanguage { get; }
59
63 string ErrorCode { get; }
64
68 KeyValuePair<string, object>[] Tags { get; }
69 }
70}
Interface for authentication results
KeyValuePair< string, object >[] Tags
Tags annotating the error message.
string ErrorLanguage
Optional language of error message
string ErrorMessage
Optional Error message
string ErrorCode
Optional Machine-readable error code.
bool? Result
true = authentication successful false = authentication rejected null = unable to perform authenticat...
ErrorType
Type of error.