mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-04-04 04:18:22 +00:00
WIP
This commit is contained in:
28
Esiur/Security/Authority/AuthenticationResult.cs
Normal file
28
Esiur/Security/Authority/AuthenticationResult.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Esiur.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Esiur.Security.Authority
|
||||
{
|
||||
public class AuthenticationResult
|
||||
{
|
||||
public AuthenticationRuling Ruling { get; internal set; }
|
||||
public string Identity { get; internal set; }
|
||||
|
||||
public object HandshakePayload { get; internal set; }
|
||||
|
||||
public byte[] SessionKey { get; internal set; }
|
||||
|
||||
public ExceptionCode? ExceptionCode { get; internal set; }
|
||||
public string ExceptionMessage { get; internal set; }
|
||||
|
||||
public AuthenticationResult(AuthenticationRuling ruling, string identity, object handshakePayload, byte[] sessionKey)
|
||||
{
|
||||
Ruling = ruling;
|
||||
Identity = identity;
|
||||
HandshakePayload = handshakePayload;
|
||||
SessionKey = sessionKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user