 | HttpErrorUtilityAddWwwAuthenticateHeader Method |
Add a WWW authenticate behavior
Namespace: SanteDB.Rest.CommonAssembly: SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntaxpublic static void AddWwwAuthenticateHeader(
this IAuthorizationServicePolicy me,
string challengeMode,
Exception error,
RestResponseMessage faultMessage
)
<ExtensionAttribute>
Public Shared Sub AddWwwAuthenticateHeader (
me As IAuthorizationServicePolicy,
challengeMode As String,
error As Exception,
faultMessage As RestResponseMessage
)
public:
[ExtensionAttribute]
static void AddWwwAuthenticateHeader(
IAuthorizationServicePolicy^ me,
String^ challengeMode,
Exception^ error,
RestResponseMessage^ faultMessage
)
[<ExtensionAttribute>]
static member AddWwwAuthenticateHeader :
me : IAuthorizationServicePolicy *
challengeMode : string *
error : Exception *
faultMessage : RestResponseMessage -> unit 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