Hi, I want to add AttributeStatement when initiate SSO. This is my code to initiate SSO
string partnerIdP = WebConfigurationManager.AppSettings[AppSettings.PartnerIdPTest]; SAMLServiceProvider.InitiateSSO(Response, null, partnerIdP);
I know how to create attribute statement, but I don't know how to add it to the request. AttributeStatement attStatement = new AttributeStatement(); attStatement.Attributes.Add(new SAMLAttribute("Level", SAMLIdentifiers.AttributeNameFormats.Basic, "Level", "Medium"));
Can it be done or I'm I doing something wrong?
|