def METHOD_NAME(
    self,
    date: str,
    content_length: int,
    method: str,
    content_type: str,
    resource: str,
) -> str:
    """
    Build authentication authentication string to pass to LA API.
    Parameters
    ----------
    date : str
        datetime of authentication session.
    content_length : int
        length of content to be passed to the api.
    method : str
        HTTP method being used.
    content_type : str
        Type of content being passed to the API.
    resource : str
        The API endpoint being targeted.
    Returns
    -------
    str
        The encoded authorization string.
    """
    x_headers = f"x-ms-date:{date}"
    string_to_hash = "\n".join(
        [method, str(content_length), content_type, x_headers, resource]
    )
    bytes_to_hash = bytes(string_to_hash, encoding="utf-8")
    decoded_key = base64.b64decode(self.workspace_secret)
    encoded_hash = base64.b64encode(
        hmac.new(decoded_key, bytes_to_hash, digestmod=hashlib.sha256).digest()
    ).decode()
    return f"SharedKey {self.workspace}:{encoded_hash}"