예제 #1
0
 /// <summary>
 /// Get the response data from the resource.
 /// </summary>
 /// <param name="state">Provides access to a persistent object that tracks the state of an authorization.</param>
 /// <param name="resourceEndPointUrl">The resource endpoint url.</param>
 /// <returns>The response windows live graph.</returns>
 public WindowsLiveGraph GetResourceGraph(OAuth2.Consumer.Session.IAuthorizationState state, string resourceEndPointUrl)
 {
     return(WindowsLiveGraph.Deserialize(GetResource(state, resourceEndPointUrl)));
 }
예제 #2
0
 /// <summary>
 /// Get the response data from the resource.
 /// </summary>
 /// <param name="state">Provides access to a persistent object that tracks the state of an authorization.</param>
 /// <returns>The response windows live graph.</returns>
 public WindowsLiveGraph GetMeResourceGraph(OAuth2.Consumer.Session.IAuthorizationState state)
 {
     return(WindowsLiveGraph.Deserialize(GetMeResource(state)));
 }