blob: 96de3ed7e3c60b9be74633bf52994535dfca54b5 (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 f4 00 00 00 ed 08 02 00 00 00 c6 1a 10 | .PNG........IHDR................ |
| 0020 | 3a 00 00 00 01 73 52 47 42 00 ae ce 1c e9 00 00 00 04 67 41 4d 41 00 00 b1 8f 0b fc 61 05 00 00 | :....sRGB.........gAMA......a... |
| 0040 | 00 09 70 48 59 73 00 00 0e c3 00 00 0e c3 01 c7 6f a8 64 00 00 00 19 74 45 58 74 53 6f 66 74 77 | ..pHYs..........o.d....tEXtSoftw |
| 0060 | 61 72 65 00 70 61 69 6e 74 2e 6e 65 74 20 34 2e 30 2e 31 37 33 6e 9f 63 00 00 6a f1 49 44 41 54 | are.paint.net.4.0.173n.c..j.IDAT |
| 0080 | 78 5e ed 9d 07 78 db d4 da c7 9d 74 ef 45 4b a1 ac 02 97 0d 97 75 d9 97 3d 0a 85 0f 0a 17 28 ab | x^...x.....t.EK......u..=.....(. |
| 00a0 | c0 05 2e 50 f6 de b3 4d d2 ac b6 69 d3using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.MachineStudio.Common.Web;
namespace Tango.MachineStudio.Common.Authentication
{
/// <summary>
/// Represents the Machine Studio user authentication provider responsible for the current logged-in user.
/// </summary>
public interface IAuthenticationProvider
{
/// <summary>
/// Occurs when the current logged-in user has changed.
/// </summary>
event EventHandler<User> CurrentUserChanged;
/// <summary>
/// Gets the current logged-in user.
/// </summary>
User CurrentUser { get; }
/// <summary>
/// Performs a user login by the specified email and password.
/// </summary>
/// <param name="email">The email.</param>
/// <param name="password">The password.</param>
/// <returns></returns>
AuthenticationLoginResult Login(String email, String password, LoginMethod method, bool bypassVersionCheck = false, Action<String> logAction = null);
/// <summary>
/// Logs-out the current logged-in user.
/// </summary>
void Logout();
}
}
|