proxyOAuthLogin method
Produce a SignedRequest from ProxyTOAuth2AuthenticateBody by using the client's stamp function.
See also: OAuth2Authenticate.
Login using an OIDC token and public key.
Sign the provided ProxyTOAuthLoginBody with the client's stamp function and submit the request (POST /v1/oauth_login).
See also: stampOAuthLogin.
Implementation
/// Login using an OIDC token and public key.
///
/// Sign the provided `ProxyTOAuthLoginBody` with the client's `stamp` function and submit the request (POST /v1/oauth_login).
///
/// See also: `stampOAuthLogin`.
Future<ProxyTOAuthLoginResponse> proxyOAuthLogin({
required ProxyTOAuthLoginBody input,
}) async {
return await authProxyRequest<ProxyTOAuthLoginBody,
ProxyTOAuthLoginResponse>("/v1/oauth_login", input,
(json) => ProxyTOAuthLoginResponse.fromJson(json));
}