我有一個應用程序已運行使用CredentialsAuthProvider()一段時間。 今天,我想添加twitter和facebook作爲人們創建帳戶的選項。我有腳手架。 //Register all Authentication methods you want to enable for this web app.
Plugins.Add(new AuthFeature(()
我目前正在嘗試實現ServiceStack的身份驗證插件,但在註銷用戶後遇到問題。我從此線程看過: How to logout authenticated user in ServiceStack? 您應該可以提出請求auth/logout。不過,我仍然登錄在這一點上。我也嘗試以無效用戶登錄/auth?username=&password=,但無濟於事。 奇怪的是這些方法在非常罕見的情況下從我這裏
我想對某些自動查詢執行身份驗證。 [Authenticate]
public class BusinessEntitiesService : QueryDb<DataModel.dbo.BusinessEntity>
{
}
這是我的問題。上面的類在我的ServiceModel項目中...爲了添加[Authenticate]屬性,我需要添加一個對ServiceStack.dll的引用,我