WSFederationAuthenticationModule.Resource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value of the wres parameter to use in WS-Federation sign-in requests ("wsignin1.0").
public:
property System::String ^ Resource { System::String ^ get(); void set(System::String ^ value); };
public string Resource { get; set; }
member this.Resource : string with get, set
Public Property Resource As String
Property Value
A URI that identifies the resource being accessed, the relying party (RP), to the to the security token service (STS).
Remarks
The wtrealm parameter, which is set by the Realm property, should be used instead of this parameter.
The wres parameter is optional. If the Resource property is set to null
or an empty string, the wres parameter is not included in the sign-in request.
You can override this setting on each HTTP request by adding a handler for the RedirectingToIdentityProvider event. This event is raised just before the module redirects to the security token service (STS) with a WS-Federation sign-in request message. The STS is specified by the Issuer property.