共用方式為


SharedAccessSignatureTokenProvider Class

Definition

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

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

Constructors

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

Methods

BuildSignature(String)
GetTokenAsync(String, TimeSpan)

Gets a SecurityToken for the given audience and duration.

Applies to