public void FakeTokenEndpoint(AccessTokenRequest req, AccessTokenResponse resp) { // XXX: Anything we can do about this boilerplate? var producer = SVX.Channel.GenerateNew(SVX_Principal); var client = SVX.Channel.GenerateNew(SVX_Principal); messageStructures.accessTokenRequest.FakeImport(req, producer, client); SVX.SVX_Ops.FakeCall(SVX_MakeAccessTokenResponse, req, (AuthorizationCodeParams)null, resp); messageStructures.accessTokenResponse.FakeExportDirectResponse(resp, producer); }
public virtual UserProfileRequest createUserProfileRequest(AccessTokenResponse accessTokenResponse) { return(null); }