Class CosmosAuthorizationHeaderImpl

    • Field Detail

      • X_MS_DATE

        public static final java.lang.String X_MS_DATE
        The "x-ms-date" header, added as metadata by the services.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CosmosAuthorizationHeaderImpl

        public CosmosAuthorizationHeaderImpl()
    • Method Detail

      • targetKey

        protected java.lang.String targetKey()
      • getTargetKey

        public java.lang.String getTargetKey()
        The metadata key that will hold the Authorization output.
      • setTargetKey

        public void setTargetKey​(java.lang.String targetKey)
        The metadata key that will hold the Authorization output.
      • getHttpVerb

        @NonNull
        public @NonNull java.lang.String getHttpVerb()
        The Verb portion of the hashed token signature is the HTTP verb, such as GET, POST, or PUT.
      • setHttpVerb

        public void setHttpVerb​(@NonNull
                                @NonNull java.lang.String httpVerb)
        The Verb portion of the hashed token signature is the HTTP verb, such as GET, POST, or PUT.
      • getMasterKey

        @NonNull
        public @NonNull java.lang.String getMasterKey()
        Your master key token.
      • setMasterKey

        public void setMasterKey​(@NonNull
                                 @NonNull java.lang.String masterKey)
        Your master key token.