KeeperEndpointExtensionsPrepareApiRequest Method

[Missing <summary> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

Definition

Namespace: KeeperSecurity.Authentication
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.1.0
C#
public static ApiRequest PrepareApiRequest(
	this IKeeperEndpoint endpoint,
	IMessage request,
	byte[] transmissionKey,
	byte[] sessionToken = null,
	int? payloadVersion = null
)

Parameters

endpoint  IKeeperEndpoint

[Missing <param name="endpoint"/> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

request  IMessage

[Missing <param name="request"/> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

transmissionKey  Byte

[Missing <param name="transmissionKey"/> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

sessionToken  Byte  (Optional)

[Missing <param name="sessionToken"/> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

payloadVersion  NullableInt32  (Optional)

[Missing <param name="payloadVersion"/> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

Return Value

ApiRequest

[Missing <returns> documentation for "M:KeeperSecurity.Authentication.KeeperEndpointExtensions.PrepareApiRequest(KeeperSecurity.Authentication.IKeeperEndpoint,Google.Protobuf.IMessage,System.Byte[],System.Byte[],System.Nullable{System.Int32})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IKeeperEndpoint. 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).

See Also