SimpleWebTokenWrapAuthenticationModule.CreateSelfSigningClientModule Method
Creates a self-signing authentication module.
Namespace: Microsoft.Workflow.Client.Security
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Shared Function CreateSelfSigningClientModule ( _
accessControlSymmetricKey As String, _
ParamArray roles As String() _
) As IAuthenticationModule
'Usage
Dim accessControlSymmetricKey As String
Dim roles As String()
Dim returnValue As IAuthenticationModule
returnValue = SimpleWebTokenWrapAuthenticationModule.CreateSelfSigningClientModule(accessControlSymmetricKey, _
roles)
public static IAuthenticationModule CreateSelfSigningClientModule(
string accessControlSymmetricKey,
params string[] roles
)
public:
static IAuthenticationModule^ CreateSelfSigningClientModule(
String^ accessControlSymmetricKey,
... array<String^>^ roles
)
static member CreateSelfSigningClientModule :
accessControlSymmetricKey:string *
roles:string[] -> IAuthenticationModule
public static function CreateSelfSigningClientModule(
accessControlSymmetricKey : String,
... roles : String[]
) : IAuthenticationModule
Parameters
- accessControlSymmetricKey
Type: System.String
The access control symmetric key.
- roles
Type: array<System.String[]
An array of roles.
Return Value
Type: System.Net.IAuthenticationModule
A self-signing authentication module.