public final class StorageCredentialsAnonymous extends StorageCredentials
Modifier and Type | Field and Description |
---|---|
static StorageCredentials |
ANONYMOUS
Stores the singleton instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected static StorageCredentials |
getInstance()
Returns the singleton instance of the
StorageCredentials class. |
String |
toString(boolean exportSecrets)
Returns a
String object that represents this instance. |
StorageUri |
transformUri(StorageUri resourceUri,
OperationContext opContext)
Transforms a resource URI into a shared access signature URI, by appending a shared access token and using the
specified operation context.
|
URI |
transformUri(URI resourceUri,
OperationContext opContext)
Transforms a resource URI into a shared access signature URI, by appending a shared access token and using the
specified operation context.
|
getAccountName, isHttpsOnly, setHttpsOnly, transformUri, transformUri, tryParseCredentials, tryParseCredentials
public static final StorageCredentials ANONYMOUS
protected static StorageCredentials getInstance()
StorageCredentials
class.public String toString(boolean exportSecrets)
String
object that represents this instance.toString
in class StorageCredentials
exportSecrets
- true
to include sensitive data in the string; otherwise, false
public URI transformUri(URI resourceUri, OperationContext opContext)
StorageCredentials
transformUri
in class StorageCredentials
resourceUri
- A java.net.URI
object that represents the resource URI to be transformed.opContext
- An OperationContext
object that represents the context for the current operation. This object
is used to track requests to the storage service, and to provide additional runtime information about
the operation.java.net.URI
object that represents the signature, including the resource URI and the
shared access token.public StorageUri transformUri(StorageUri resourceUri, OperationContext opContext)
StorageCredentials
transformUri
in class StorageCredentials
resourceUri
- A StorageUri
object that represents the resource URI to be transformed.opContext
- An OperationContext
object that represents the context for the current operation. This object
is used to track requests to the storage service, and to provide additional runtime information about
the operation.StorageUri
object that represents the signature, including the resource URI and the
shared access token.Copyright © 2019. All rights reserved.