resolveTrust
Determines if a request comes from a trusted requestor and returns the information about the requestor.
Two pieces of information are returned as a part of TrustedRequesterIdentity result.
The first is RequesterIdentity represents the primary request signature on which the trust determination is made. This RequesterIdentity must come from the Requester.requesterIdentities list of the requester parameter.
The other one is TrustMetadata which provides branding and other information about the requester that can be presented to the user.
Note: this function generally can base its trust determination and TrustMetadata values on all of the RequesterIdentity objects in Requester.requesterIdentities, not only the primary identity it returns.
Return
a TrustedRequesterIdentity object as described above or null if the requestor trust could not be established.
Parameters
the requester to check.