示例#1
0
        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);
        }
示例#2
0
 public virtual UserProfileRequest createUserProfileRequest(AccessTokenResponse accessTokenResponse)
 {
     return(null);
 }