summary:"Creates a new instance of <xref uid=\"com.azure.storage.file.share.models.ShareAudience\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ShareAudience\"></xref> without a <xref uid=\"com.azure.storage.file.share.models.ShareAudience.toString*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> value."
deprecatedTag:"Use one of the constants or the <xref uid=\"com.azure.storage.file.share.models.ShareAudience.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
desc:"Creates a new instance of <xref uid=\"com.azure.storage.file.share.models.ShareAudience\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ShareAudience\"></xref> without a <xref uid=\"com.azure.storage.file.share.models.ShareAudience.toString*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> value.\n\nThis constructor shouldn't be called as it will produce a <xref uid=\"com.azure.storage.file.share.models.ShareAudience\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ShareAudience\"></xref> which doesn't have a String enum value."
syntax:"public static final ShareAudience AZURE_PUBLIC_CLOUD"
desc:"Gets default Audience used to acquire a token for authorizing requests to any Azure Storage account. If no audience is specified, this resource ID is the default value: \"https://storage.azure.com/\"."
desc:"The service endpoint for a given storage account. Use this method to acquire a token for authorizing requests to that specific Azure Storage account and service only."
returns:
description:"the audience with the file service endpoint."
desc:"The Azure Active Directory audience to use when forming authorization scopes. For the Language service, this value corresponds to a URL that identifies the Azure cloud where the resource is located. For more information see [ Authorize access to Azure blobs using Azure Active Directory][Authorize access to Azure blobs using Azure Active Directory].\n\n\n[Authorize access to Azure blobs using Azure Active Directory]: https://learn.microsoft.com/en-us/azure/storage/blobs/authorize-access-azure-active-directory"
desc:"The audience to be used when requesting a token from Azure Active Directory (AAD). Note: This audience only has an effect when authenticating a TokenCredential."