 | HoarderServiceClientKeyCheck Method |
Checks if an API Key has any roles.
Namespace: Orthogonal.Hoarder.StdLibAssembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.21
Syntaxpublic Task<Role[]> KeyCheck(
string key
)
Parameters
- key String
- The API Key to check.
Return Value
TaskRoleA 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