Share via


OAuthAccountData Constructor

Initializes a new instance of the OAuthAccountData class by using the specified OAuth or Open ID provider and provider user ID.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Syntax

'Declaration
Public Sub New ( _
    provider As String, _
    providerUserId As String _
)
'Usage
Dim provider As String 
Dim providerUserId As String 

Dim instance As New OAuthAccountData(provider, _
    providerUserId)
public OAuthAccountData(
    string provider,
    string providerUserId
)
public:
OAuthAccountData(
    String^ provider, 
    String^ providerUserId
)
new : 
        provider:string * 
        providerUserId:string -> OAuthAccountData
public function OAuthAccountData(
    provider : String, 
    providerUserId : String
)

Parameters

See Also

Reference

OAuthAccountData Class

WebMatrix.WebData Namespace