AnonymousCredentials Class

Definition

Anonymous credentials are to be used with with HTTP(S) requests that read blobs from public containers or requests that use a Shared Access Signature (SAS). This is because Anonymous credentials will not set an Authorization header. Pass an instance of this class as the credentials parameter when creating a new pipeline (typically with StorageURL).

public class AnonymousCredentials implements ICredentials
Inheritance
java.lang.Object
RequestPolicyFactory
AnonymousCredentials

Constructors

AnonymousCredentials()

Returns an empty instance ofAnonymousCredentials  .

Methods

create(RequestPolicy nextRequestPolicy, RequestPolicyOptions options)

Creates a newAnonymousCredentialsPolicy  .

Applies to