Skip to content

Commit c7e6948

Browse files
committed
Merge pull request Azure#4 from brandwe/master
Code Update for BUILD
2 parents f31b737 + daabc98 commit c7e6948

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

WAAD.WebSSO.PHP/csharp/code/libraries/powershell/Microsoft.Samples.Waad.PS/GetOrgIdSPN.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private GetOrgIdSpnResult GetSpn()
5454
idpIdentifier = new Guid(entityDescriptor.Split('@')[1]);
5555
}
5656

57-
return new GetOrgIdSpnResult(new Guid(this.AppPrincipalId), this.ApplicationDomain, idpIdentifier, entityDescriptor);
57+
return new GetOrgIdSpnResult(new Guid(this.AppPrincipalId), this.ApplicationDomain, idpIdentifier);
5858
}
5959
}
6060
}

WAAD.WebSSO.PHP/csharp/code/libraries/powershell/Microsoft.Samples.Waad.PS/GetOrgIdSPNResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ public class GetOrgIdSpnResult
77
{
88
private const string Display = "<issuer name=\"{0}\" displayName=\"{0}\" realm=\"{1}\" />";
99

10-
public GetOrgIdSpnResult(Guid appId, string appDomain, Guid idpId, string entityId)
10+
public GetOrgIdSpnResult(Guid appId, string appDomain, Guid idpId)
1111
{
1212
this.ApplicationId = appId;
1313
this.ApplicationDomain = appDomain;
14-
this.Spn = string.Format("spn:{0}@{1}", appId, idpId);
14+
this.Spn = string.Format("spn:{0}", appId);
1515
}
1616

1717
public Guid ApplicationId { get; internal set; }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
federation.trustedissuers.issuer=https://accounts.accesscontrol.windows.net/v2/wsfederation
22
federation.trustedissuers.thumbprint=3f5dfcdf4b3d0eab9ba49befb3cfd760da9cccf1
33
federation.trustedissuers.friendlyname=Awesome Computers
4-
federation.audienceuris=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7
4+
federation.audienceuris=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392
55
federation.realm=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7
66
federation.reply=https://localhost/phpSample/index.php

0 commit comments

Comments
 (0)