/// <summary> /// Syncronous wrapper for <see cref="RequestIdentityAsync(DiscoveryResponse, string, MobileConnectRequestOptions)"/> /// </summary> /// <param name="discoveryResponse">The response returned by the discovery process</param> /// <param name="accessToken">Access token from RequestToken stage</param> /// <param name="options">Additional optional parameters</param> /// <returns>MobileConnectStatus object with UserInfo information</returns> public MobileConnectStatus RequestIdentity(DiscoveryResponse discoveryResponse, string accessToken, MobileConnectRequestOptions options) { return(MobileConnectInterfaceHelper.RequestIdentity(_identity, discoveryResponse, accessToken, _config, options).Result); }
/// <summary> /// Request user info using the access token returned by <see cref="RequestTokenAsync(DiscoveryResponse, Uri, string, string, MobileConnectRequestOptions)"/> /// </summary> /// <param name="discoveryResponse">The response returned by the discovery process</param> /// <param name="accessToken">Access token from RequestToken stage</param> /// <param name="options">Additional optional parameters</param> /// <returns>MobileConnectStatus object with UserInfo information</returns> public async Task <MobileConnectStatus> RequestIdentityAsync(DiscoveryResponse discoveryResponse, string accessToken, MobileConnectRequestOptions options) { return(await MobileConnectInterfaceHelper.RequestIdentity(_identity, discoveryResponse, accessToken, _config, options)); }