forked from mshalev/Graph-Security-API-Auth-Sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAuthResult.cs
31 lines (27 loc) · 916 Bytes
/
AuthResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
* See LICENSE in the project root for license information.
*/
namespace GraphAuthSample
{
using System;
using System.Collections.Generic;
/// <summary>
/// Class to carrry result from authentication
/// </summary>
public class AuthResult
{
/// <summary>
/// Gets or sets the access token retrieved from AAD
/// </summary>
public string AccessToken { get; set; }
/// <summary>
/// Gets or sets the exceptions happen during authentication
/// </summary>
public Exception Exception { get; set; }
/// <summary>
/// Gets or sets the list of logs during authentication
/// </summary>
public List<string> Logs { get; set; } = new List<string>();
}
}