Compartir a través de


OAuthValidateClientAuthenticationContext.TryGetFormCredentials Method (String, String)

 

Extracts forms authentication credentials from the HTTP request body.

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

Syntax

public bool TryGetFormCredentials(
    out string clientId,
    out string clientSecret
)
public:
bool TryGetFormCredentials(
    [OutAttribute] String^% clientId,
    [OutAttribute] String^% clientSecret
)
member TryGetFormCredentials : 
        clientId:string byref *
        clientSecret:string byref -> bool
Public Function TryGetFormCredentials (
    <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