Click or drag to resize

AuthExtensionsExecuteAuthCommandTC(IAuthentication, TC) Method

Executes JSON authenticated command.

Namespace: KeeperSecurity.Authentication
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5-beta11
Syntax
C#
public static Task ExecuteAuthCommand<TC>(
	this IAuthentication auth,
	TC command
)
where TC : AuthenticatedCommand

Parameters

auth  IAuthentication
The authenticated connection.
command  TC
SON authenticated command.

Type Parameters

TC
JSON authenticated command type.

Return Value

Task
Awaitable task.

Usage Note

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).
Exceptions
ExceptionCondition
KeeperApiExceptionKeeper API Exception.
See Also