Click or drag to resize

HoarderServiceClientKeyCheck Method

Checks if an API Key has any roles.

Namespace: Orthogonal.Hoarder.StdLib
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.21
Syntax
C#
public Task<Role[]> KeyCheck(
	string key
)

Parameters

key  String
The API Key to check.

Return Value

TaskRole
A non-null string array of Role enumerations. The array will be empty if the API Key is not registered.
Remarks
Clients can use this endpoint to check (validate) an API Key before using it in subequent requests.
See Also