Comparteix a través de


OAuthGrantResourceOwnerCredentialsContext Constructor (IOwinContext, OAuthAuthorizationServerOptions, String, String, String, IList<String>)

 

Initializes a new instance of the OAuthGrantResourceOwnerCredentialsContext class

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

Syntax

public OAuthGrantResourceOwnerCredentialsContext(
    IOwinContext context,
    OAuthAuthorizationServerOptions options,
    string clientId,
    string userName,
    string password,
    IList<string> scope
)
public:
OAuthGrantResourceOwnerCredentialsContext(
    IOwinContext^ context,
    OAuthAuthorizationServerOptions^ options,
    String^ clientId,
    String^ userName,
    String^ password,
    IList<String^>^ scope
)
new : 
        context:IOwinContext *
        options:OAuthAuthorizationServerOptions *
        clientId:string *
        userName:string *
        password:string *
        scope:IList<string> -> OAuthGrantResourceOwnerCredentialsContext
Public Sub New (
    context As IOwinContext,
    options As OAuthAuthorizationServerOptions,
    clientId As String,
    userName As String,
    password As String,
    scope As IList(Of String)
)

Parameters

See Also

OAuthGrantResourceOwnerCredentialsContext Class
Microsoft.Owin.Security.OAuth Namespace

Return to top