TokenProvider.CreateSharedAccessSignatureTokenProvider Method
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.
Overloads
CreateSharedAccessSignatureTokenProvider(String) |
Creates a URL that grants access to the token provider with the specified shared access signature. |
CreateSharedAccessSignatureTokenProvider(String, String) |
Creates a URL that grants access to the token provider with the specified key name and shared access key. |
CreateSharedAccessSignatureTokenProvider(String, String, TokenScope) |
Creates a URL that grants access to the token provider with the specified key name, shared access key and token scope. |
CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) |
Creates a URL that grants access to the token provider with the specified key name, shared access key and token time to live. |
CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope) |
Creates a URL that grants access to the token provider. |
CreateSharedAccessSignatureTokenProvider(String)
Creates a URL that grants access to the token provider with the specified shared access signature.
public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string sharedAccessSignature);
static member CreateSharedAccessSignatureTokenProvider : string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (sharedAccessSignature As String) As TokenProvider
Parameters
- sharedAccessSignature
- String
The shared access signature.
Returns
Returns TokenProvider.
Applies to
CreateSharedAccessSignatureTokenProvider(String, String)
Creates a URL that grants access to the token provider with the specified key name and shared access key.
public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey);
static member CreateSharedAccessSignatureTokenProvider : string * string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String) As TokenProvider
Parameters
- keyName
- String
The key name.
- sharedAccessKey
- String
The shared access key.
Returns
The created URL that grants access to token provider.
Applies to
CreateSharedAccessSignatureTokenProvider(String, String, TokenScope)
Creates a URL that grants access to the token provider with the specified key name, shared access key and token scope.
public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSharedAccessSignatureTokenProvider : string * string * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String, tokenScope As TokenScope) As TokenProvider
Parameters
- keyName
- String
The key name.
- sharedAccessKey
- String
The shared access key.
- tokenScope
- TokenScope
The token scope associated with the provider.
Returns
The created URL that grants access to token provider.
Applies to
CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan)
Creates a URL that grants access to the token provider with the specified key name, shared access key and token time to live.
public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, TimeSpan tokenTimeToLive);
static member CreateSharedAccessSignatureTokenProvider : string * string * TimeSpan -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String, tokenTimeToLive As TimeSpan) As TokenProvider
Parameters
- keyName
- String
The key name.
- sharedAccessKey
- String
The shared access key.
- tokenTimeToLive
- TimeSpan
The time for which the operation remains valid.
Returns
The created URL that grants access to token provider.
Applies to
CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope)
Creates a URL that grants access to the token provider.
public static Microsoft.ServiceBus.TokenProvider CreateSharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, TimeSpan tokenTimeToLive, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSharedAccessSignatureTokenProvider : string * string * TimeSpan * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedAccessSignatureTokenProvider (keyName As String, sharedAccessKey As String, tokenTimeToLive As TimeSpan, tokenScope As TokenScope) As TokenProvider
Parameters
- keyName
- String
The key name.
- sharedAccessKey
- String
The shared access key.
- tokenTimeToLive
- TimeSpan
The time for which the operation remains valid.
- tokenScope
- TokenScope
The token scope associated with the provider.
Returns
The created URL that grants access to token provider.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기