Udostępnij za pośrednictwem


SharedAccessSignatureTokenProvider Class

Definition

The SharedAccessSignatureTokenProvider generates tokens using a shared access key or existing signature.

public class SharedAccessSignatureTokenProvider : Microsoft.Azure.EventHubs.TokenProvider
type SharedAccessSignatureTokenProvider = class
    inherit TokenProvider
Public Class SharedAccessSignatureTokenProvider
Inherits TokenProvider
Inheritance
SharedAccessSignatureTokenProvider

Constructors

SharedAccessSignatureTokenProvider(String, String, Func<String,Byte[]>, TimeSpan, TokenScope)

Fields

EpochTime

Represents 00:00:00 UTC Thursday 1, January 1970.

Methods

BuildSignature(String)
GetTokenAsync(String, TimeSpan)

Gets a SecurityToken for the given audience and duration.

Applies to