/// <summary> /// Sets the identity of the user that initiated the request from the Platform. /// </summary> public void SetOriginatingIdentity(OriginatingIdentity identity) { HttpClient.DefaultRequestHeaders.Remove(OriginatingIdentity.HttpHeaderName); HttpClient.DefaultRequestHeaders.Add(OriginatingIdentity.HttpHeaderName, identity.ToString()); }
/// <summary> /// Sets the identity of the user that initiated the request from the Platform. /// </summary> public void SetOriginatingIdentity(OriginatingIdentity identity) => SetCustomHeader(OriginatingIdentity.HttpHeaderName, identity.ToString());