Share via


OAuthValidateClientAuthenticationContext.TryGetBasicCredentials Method

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

Syntax

'Declaration
Public Function TryGetBasicCredentials ( _
    <OutAttribute> ByRef clientId As String, _
    <OutAttribute> ByRef clientSecret As String _
) As Boolean
'Usage
Dim instance As OAuthValidateClientAuthenticationContext 
Dim clientId As String 
Dim clientSecret As String 
Dim returnValue As Boolean 

returnValue = instance.TryGetBasicCredentials(clientId, _
    clientSecret)
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(
    clientId : String, 
    clientSecret : String
) : boolean

Parameters

Return Value

Type: System.Boolean

See Also

Reference

OAuthValidateClientAuthenticationContext Class

Microsoft.Owin.Security.OAuth Namespace