78a111e3ab3f2285239ea62acdd47433bf764995
[platform/upstream/dotnet/runtime.git] /
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5 using System;
6 using System.Collections.Generic;
7 using System.Linq;
8 using System.Text;
9
10 namespace Microsoft.SqlServer.TDS.EndPoint.FederatedAuthentication
11 {
12     /// <summary>
13     /// Interface for federated authentication ticket
14     /// </summary>
15     public interface IFederatedAuthenticationTicket
16     {
17         /// <summary>
18         /// Computes and returns the signature of the provided buffer using the internal session Key associated with the auth
19         /// ticket.
20         /// </summary>
21         byte[] GetSignature(byte[] bufferToSign);
22     }
23 }