SharedAccessSignatureTokenProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET