AuthExtensionsExecuteAuthRestTC, TR Method
Executes Protobuf authenticated request.
Namespace: KeeperSecurity.AuthenticationAssembly: KeeperSdk (in KeeperSdk.dll) Version: 1.1.0
public static Task<TR> ExecuteAuthRest<TC, TR>(
this IAuthentication auth,
string endpoint,
TC request,
int apiVersion = 0
)
where TC : IMessage
where TR : IMessage
- auth IAuthentication
- The authenticated connection.
- endpoint String
- URL path for request.
- request TC
[Missing <param name="request"/> documentation for "M:KeeperSecurity.Authentication.AuthExtensions.ExecuteAuthRest``2(KeeperSecurity.Authentication.IAuthentication,System.String,``0,System.Int32)"]
- apiVersion Int32 (Optional)
- request version
- TC
- Protobuf authenticated request type.
- TR
- Protobuf response type.
TaskTRTask returning Protobuf response.In Visual Basic and C#, you can call this method as an instance method on any object of type
IAuthentication. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).