servicestack,Authentication,servicestack" /> servicestack,Authentication,servicestack" />

Authentication ServiceStack在4.0.22.0中的更改,CredentialAuthProvider.OnAuthenticated现在返回一些内容

Authentication ServiceStack在4.0.22.0中的更改,CredentialAuthProvider.OnAuthenticated现在返回一些内容,authentication,servicestack,Authentication,servicestack,今天下午我更新到了版本4.0.22.0,类CredentialAuthProvider的OnAuthenticated方法现在的返回类型为ServiceStack.Web.ihttpruslt。我不确定在这个方法中返回什么。它主要用于验证/错误处理,您可以返回重定向或自定义错误HTTP响应 但是对于正常的成功响应,您只需返回null

今天下午我更新到了版本4.0.22.0,类CredentialAuthProvider的OnAuthenticated方法现在的返回类型为ServiceStack.Web.ihttpruslt。我不确定在这个方法中返回什么。

它主要用于验证/错误处理,您可以返回重定向或自定义错误HTTP响应

但是对于正常的成功响应,您只需返回
null