OAuthValidateClientAuthenticationContext.TryGetBasicCredentials Method (String, String)

 

Extracts HTTP basic authentication credentials from the HTTP authenticate header.

Namespace:   Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

public bool TryGetBasicCredentials(
    out string clientId,
    out string clientSecret
)
public:
bool TryGetBasicCredentials(
    [OutAttribute] String^% clientId,
    [OutAttribute] String^% clientSecret
)
member TryGetBasicCredentials : 
        clientId:string byref *
        clientSecret:string byref -> bool
Public Function TryGetBasicCredentials (
    <OutAttribute> ByRef clientId As String,
    <OutAttribute> ByRef clientSecret As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

Returns Boolean.

See Also

OAuthValidateClientAuthenticationContext Class
Microsoft.Owin.Security.OAuth Namespace

Return to top