Extracts and parses the Authorization header from a B* REST API request
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public static bool GetAuthorizationInfo(
HttpRequestBase request,
out SignatureType authType,
out string account,
out string signature
) |
Visual Basic |
---|
Public Shared Function GetAuthorizationInfo (
request As HttpRequestBase,
<OutAttribute> ByRef authType As SignatureType,
<OutAttribute> ByRef account As String,
<OutAttribute> ByRef signature As String
) As Boolean |
Visual C++ |
---|
public:
static bool GetAuthorizationInfo(
HttpRequestBase^ request,
[OutAttribute] SignatureType% authType,
[OutAttribute] String^% account,
[OutAttribute] String^% signature
) |
F# |
---|
static member GetAuthorizationInfo :
request : HttpRequestBase *
authType : SignatureType byref *
account : string byref *
signature : string byref -> bool
|
Parameters
- request
- Type: System.Web..::..HttpRequestBase
The incoming request
- authType
- Type: BrightstarDB.Client..::..SignatureType%
The authentication type specified in the request
- account
- Type: System..::..String%
The account ID specified in the request
- signature
- Type: System..::..String%
The request signature
Return Value
Type:
BooleanTrue if the request has an Authorization header that was parsed successfully, false otherwise.
See Also