-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from mdsol/develop
Release of v3.0.4
- Loading branch information
Showing
26 changed files
with
293 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using System.Net.Http; | ||
using System.Runtime.Serialization; | ||
using Medidata.MAuth.Core; | ||
|
||
namespace Medidata.MAuth.Tests.Infrastructure | ||
{ | ||
[DataContract] | ||
internal class RequestData | ||
{ | ||
[DataMember] | ||
public Uri Url { get; set; } | ||
|
||
[DataMember] | ||
public string Method { get; set; } | ||
|
||
[DataMember] | ||
public DateTimeOffset SignedTime { get; set; } | ||
|
||
[DataMember] | ||
public string Base64Content { get; set; } | ||
|
||
[DataMember] | ||
public Guid ApplicationUuid { get; set; } | ||
|
||
[DataMember] | ||
public string Payload { get; set; } | ||
|
||
[IgnoreDataMember] | ||
public long SignedTimeUnixSeconds => SignedTime.ToUnixTimeSeconds(); | ||
|
||
[IgnoreDataMember] | ||
public string MAuthHeader => $"MWS {ApplicationUuidString}:{Payload}"; | ||
|
||
[IgnoreDataMember] | ||
public string ApplicationUuidString => ApplicationUuid.ToHyphenString(); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.