Compartir a través de


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

 

Initializes a new instance of the OAuthGrantClientCredentialsContext class

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

Syntax

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

Parameters

See Also

OAuthGrantClientCredentialsContext Class
Microsoft.Owin.Security.OAuth Namespace

Return to top