Versions in this module Expand all Collapse all v0 v0.1.1 May 12, 2022 v0.1.0 Mar 28, 2022 Changes in this version + func CreateConnectionStringWithSAS(connectionString string, duration time.Duration) (string, error) + type Signer struct + Key string + KeyName string + func NewSigner(keyName, key string) *Signer + func (s *Signer) SignWithDuration(uri string, interval time.Duration) (signature, expiry string, err error) + func (s *Signer) SignWithExpiry(uri, expiry string) (string, error) + type TokenProvider struct + func NewTokenProvider(opts ...TokenProviderOption) (*TokenProvider, error) + func (t *TokenProvider) GetToken(audience string) (*auth.Token, error) + type TokenProviderOption func(*TokenProvider) error + func TokenProviderWithKey(keyName, key string, expiryDuration time.Duration) TokenProviderOption + func TokenProviderWithSAS(sas string) TokenProviderOption