共用方式為


SharedSecretTokenProvider.ComputeSimpleWebTokenString Method

Definition

Overloads

ComputeSimpleWebTokenString(String, Byte[])

Returns a string of URL encoded name/value pairs for a simple web token assertion using the specified issuer name and issuer secret.

ComputeSimpleWebTokenString(String, String)

Returns a string of URL encoded name/value pairs for a simple web token assertion using the specified issuer name and issuer secret.

ComputeSimpleWebTokenString(String, Byte[])

Returns a string of URL encoded name/value pairs for a simple web token assertion using the specified issuer name and issuer secret.

public static string ComputeSimpleWebTokenString (string issuerName, byte[] issuerSecret);
static member ComputeSimpleWebTokenString : string * byte[] -> string
Public Shared Function ComputeSimpleWebTokenString (issuerName As String, issuerSecret As Byte()) As String

Parameters

issuerName
String

The issuer name.

issuerSecret
Byte[]

The issuer secret.

Returns

A URL encoded name/value pairs for a simple web token assertion.

Applies to

ComputeSimpleWebTokenString(String, String)

Returns a string of URL encoded name/value pairs for a simple web token assertion using the specified issuer name and issuer secret.

public static string ComputeSimpleWebTokenString (string issuerName, string issuerSecret);
static member ComputeSimpleWebTokenString : string * string -> string
Public Shared Function ComputeSimpleWebTokenString (issuerName As String, issuerSecret As String) As String

Parameters

issuerName
String

The issuer name.

issuerSecret
String

The issuer secret.

Returns

A URL encoded name/value pairs for a simple web token assertion.

Applies to