SimpleWebSecurityTokenSerializer.ReadBinaryCore Method
Returns a new SimpleWebSecurityToken based on the specified ID and token data.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
'Declaration
Protected Shared Function ReadBinaryCore ( _
id As String, _
rawData As Byte() _
) As SecurityToken
'Usage
Dim id As String
Dim rawData As Byte()
Dim returnValue As SecurityToken
returnValue = SimpleWebSecurityTokenSerializer.ReadBinaryCore(id, _
rawData)
protected static SecurityToken ReadBinaryCore(
string id,
byte[] rawData
)
protected:
static SecurityToken^ ReadBinaryCore(
String^ id,
array<unsigned char>^ rawData
)
static member ReadBinaryCore :
id:string *
rawData:byte[] -> SecurityToken
protected static function ReadBinaryCore(
id : String,
rawData : byte[]
) : SecurityToken
Parameters
- id
Type: System.String
The unique identifier associated with the SimpleWebSecurityToken to return.
- rawData
Type: array<System.Byte[]
The binary SimpleWebSecurityToken content.
Return Value
Type: System.IdentityModel.Tokens.SecurityToken
A SecurityToken that represents the new SimpleWebSecurityToken.