예제 #1
0
 /// <summary>
 /// Called when an authentication request is about to be sent.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <remarks>
 /// Implementations should be prepared to be called multiple times on the same outgoing message
 /// without malfunctioning.
 /// </remarks>
 void IRelyingPartyBehavior.OnOutgoingAuthenticationRequest(RelyingParty.IAuthenticationRequest request)
 {
     // Don't create AX extensions for OpenID 1.x messages, since AX requires OpenID 2.0.
     if (request.Provider.Version.Major >= 2)
     {
         request.SpreadSregToAX(this.AXFormats);
     }
 }
예제 #2
0
 /// <summary>
 /// Called when an authentication request is about to be sent.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <remarks>
 /// Implementations should be prepared to be called multiple times on the same outgoing message
 /// without malfunctioning.
 /// </remarks>
 void IRelyingPartyBehavior.OnOutgoingAuthenticationRequest(RelyingParty.IAuthenticationRequest request)
 {
     request.SpreadSregToAX(AXFormats);
 }