문제

I'm trying to access the customData property that can be passed to the server via RiaServices. Similar to: http://social.msdn.microsoft.com/Forums/silverlight/en-US/0509878c-7315-4f31-84d8-33ee8e9abcf3/additional-login-information Currently we are using the AuthenticationBase provided by System.ServiceModel.DomainServices.Server.ApplicationServices, however it doesn't appear that it will let me hide the existing "Login(...)" method to use my own and gain access to the customData property.

도움이 되었습니까?

해결책

Here is a code sample from Microsoft demonstrating an implementation of a custom authentication service. The sample appears to allow you to include the customData in the Login method:

http://code.msdn.microsoft.com/Custom-Authentication-96ca3d20#content

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top