proxyGetAccount method

Future<ProxyTGetAccountResponse> proxyGetAccount({
  1. required ProxyTGetAccountBody input,
})

Return organization id associated with a given phone number, email, public key, credential ID or OIDC token.

Sign the provided ProxyTGetAccountBody with the client's stamp function and submit the request (POST /v1/account).

See also: stampGetAccount.

Implementation

Future<ProxyTGetAccountResponse> proxyGetAccount({
  required ProxyTGetAccountBody input,
}) async {
  return await authProxyRequest<ProxyTGetAccountBody,
          ProxyTGetAccountResponse>("/v1/account", input,
      (json) => ProxyTGetAccountResponse.fromJson(json));
}