Click or drag to resize

HttpErrorUtilityAddWwwAuthenticateHeader Method

Add a WWW authenticate behavior

Namespace: SanteDB.Rest.Common
Assembly: SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public static void AddWwwAuthenticateHeader(
	this IAuthorizationServicePolicy me,
	string challengeMode,
	Exception error,
	RestResponseMessage faultMessage
)

Parameters

me  IAuthorizationServicePolicy

[Missing <param name="me"/> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.AddWwwAuthenticateHeader(RestSrvr.IAuthorizationServicePolicy,System.String,System.Exception,RestSrvr.Message.RestResponseMessage)"]

challengeMode  String

[Missing <param name="challengeMode"/> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.AddWwwAuthenticateHeader(RestSrvr.IAuthorizationServicePolicy,System.String,System.Exception,RestSrvr.Message.RestResponseMessage)"]

error  Exception

[Missing <param name="error"/> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.AddWwwAuthenticateHeader(RestSrvr.IAuthorizationServicePolicy,System.String,System.Exception,RestSrvr.Message.RestResponseMessage)"]

faultMessage  RestResponseMessage

[Missing <param name="faultMessage"/> documentation for "M:SanteDB.Rest.Common.HttpErrorUtility.AddWwwAuthenticateHeader(RestSrvr.IAuthorizationServicePolicy,System.String,System.Exception,RestSrvr.Message.RestResponseMessage)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAuthorizationServicePolicy. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also