public final class AzureSasCredential extends Object
| Constructor and Description |
|---|
AzureSasCredential(String signature)
Creates a credential that authorizes request with the given shared access signature.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSignature()
Retrieves the shared access signature associated to this credential.
|
AzureSasCredential |
update(String signature)
Rotates the shared access signature associated to this credential.
|
public AzureSasCredential(String signature)
signature - The shared access signature used to authorize requests.NullPointerException - If signature is null.IllegalArgumentException - If signature is an empty string.public String getSignature()
public AzureSasCredential update(String signature)
signature - The new shared access signature to be associated with this credential.AzureSasCredential object.NullPointerException - If signature is null.IllegalArgumentException - If signature is an empty string.Copyright © 2021 Microsoft Corporation. All rights reserved.