AuthenticationResponseGrant 建構函式 (ClaimsIdentity, AuthenticationProperties)
初始化 AuthenticationResponseGrant 類別的新執行個體。
命名空間: Microsoft.Owin.Security
組件: Microsoft.Owin (在 Microsoft.Owin.dll 中)
語法
'宣告
Public Sub New ( _
identity As ClaimsIdentity, _
properties As AuthenticationProperties _
)
'用途
Dim identity As ClaimsIdentity
Dim properties As AuthenticationProperties
Dim instance As New AuthenticationResponseGrant(identity, _
properties)
public AuthenticationResponseGrant(
ClaimsIdentity identity,
AuthenticationProperties properties
)
public:
AuthenticationResponseGrant(
ClaimsIdentity^ identity,
AuthenticationProperties^ properties
)
new :
identity:ClaimsIdentity *
properties:AuthenticationProperties -> AuthenticationResponseGrant
public function AuthenticationResponseGrant(
identity : ClaimsIdentity,
properties : AuthenticationProperties
)
參數
- identity
型別:ClaimsIdentity
此驗證的識別。
- properties
型別:Microsoft.Owin.Security.AuthenticationProperties
此驗證的屬性。
請參閱
參考
AuthenticationResponseGrant 類別