Пространство имен: Microsoft.IdentityModel.Protocols.WSIdentity
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim endpoint As TokenServiceEndpoint Dim userCredential As IUserCredential Dim instance As New TokenService(endpoint, userCredential) |
Синтаксис
Visual Basic |
---|
Public Sub New ( _ endpoint As TokenServiceEndpoint, _ userCredential As IUserCredential _ ) |
C# |
---|
public TokenService ( TokenServiceEndpoint endpoint, IUserCredential userCredential ) |
C++ |
---|
public: TokenService ( TokenServiceEndpoint^ endpoint, IUserCredential^ userCredential ) |
J# |
---|
public TokenService ( TokenServiceEndpoint endpoint, IUserCredential userCredential ) |
JScript |
---|
public function TokenService ( endpoint : TokenServiceEndpoint, userCredential : IUserCredential ) |
Параметры
- endpoint
- userCredential