Bagikan melalui


SecurityToken(String, DateTime, String, String) Constructor

Definition

Creates a new instance of the SecurityToken class.

public SecurityToken (string tokenString, DateTime expiresAtUtc, string audience, string tokenType);
new Microsoft.Azure.EventHubs.SecurityToken : string * DateTime * string * string -> Microsoft.Azure.EventHubs.SecurityToken
Public Sub New (tokenString As String, expiresAtUtc As DateTime, audience As String, tokenType As String)

Parameters

tokenString
String

The token

expiresAtUtc
DateTime

The expiration time

audience
String

The audience

tokenType
String

The type of the token

Applies to