コード例 #1
0
 /// <summary>
 /// OAuth Token
 /// </summary>
 /// <remarks>
 /// See the guide on <a href="http://api.keypay.com.au/guides/OAuth2">OAuth2 authentication</a> for more details.
 /// </remarks>
 public void OauthToken(OauthTokenQueryModel request)
 {
     ApiRequest($"/oauth/token?request={request.Request}", Method.POST);
 }
コード例 #2
0
 /// <summary>
 /// OAuth Token
 /// </summary>
 /// <remarks>
 /// See the guide on <a href="http://api.keypay.com.au/guides/OAuth2">OAuth2 authentication</a> for more details.
 /// </remarks>
 public Task OauthTokenAsync(OauthTokenQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/oauth/token?request={request.Request}", Method.POST, cancellationToken));
 }