OAuthGrantClientCredentialsContext Constructor
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
'Declaration
Public Sub New ( _
context As IOwinContext, _
options As OAuthAuthorizationServerOptions, _
clientId As String, _
scope As IList(Of String) _
)
'Usage
Dim context As IOwinContext
Dim options As OAuthAuthorizationServerOptions
Dim clientId As String
Dim scope As IList(Of String)
Dim instance As New OAuthGrantClientCredentialsContext(context, _
options, clientId, scope)
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 function OAuthGrantClientCredentialsContext(
context : IOwinContext,
options : OAuthAuthorizationServerOptions,
clientId : String,
scope : IList<String>
)
Parameters
- context
Type: Microsoft.Owin.IOwinContext
- clientId
Type: System.String
- scope
Type: System.Collections.Generic.IList<String>