getOauth2Credential method
Future<TGetOauth2CredentialResponse>
getOauth2Credential({
- required TGetOauth2CredentialBody input,
Get details about an OAuth 2.0 credential.
Sign the provided TGetOauth2CredentialBody with the client's stamp function and submit the request (POST /public/v1/query/get_oauth2_credential).
See also: stampGetOauth2Credential.
Implementation
Future<TGetOauth2CredentialResponse> getOauth2Credential({
required TGetOauth2CredentialBody input,
}) async {
return await request<TGetOauth2CredentialBody,
TGetOauth2CredentialResponse>(
"/public/v1/query/get_oauth2_credential",
input,
(json) => TGetOauth2CredentialResponse.fromJson(json));
}