Click or drag to resize

CookieAuthenticationBehaviorAddAuthenticateChallengeHeader Method

Add the appropriate authentication headers to the response

Namespace: SanteDB.Rest.Common.Behavior
Assembly: SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public void AddAuthenticateChallengeHeader(
	RestResponseMessage faultMessage,
	Exception error
)

Parameters

faultMessage  RestResponseMessage
The fault message where headers should be added
error  Exception
The error code that caused the challenge header to be added

Implements

IAuthorizationServicePolicyAddAuthenticateChallengeHeader(RestResponseMessage, Exception)
See Also