C# Class DineroPortableClientSDK.DineroOauth2Client

Handles some basic OAuth2 communication with Dinero. Currently supports the getting of access token.
Datei anzeigen Open project: DineroRegnskab/dinero-csharp-sdk Class Usage Examples

Public Methods

Method Description
GetAuthorizationToken ( ) : Task

Makes a HTTP call to the OAuth2 endpoint for getting the OAuth2 token that can be used for further HTTP communication with Dinero.

Private Methods

Method Description
DineroOauth2Client ( Uri oAuth2TokenEndpoint, ClientCredentials client, AuthorizationBodyContent bodyContentParamters ) : System

Creates a new instance.

Method Details

GetAuthorizationToken() public method

Makes a HTTP call to the OAuth2 endpoint for getting the OAuth2 token that can be used for further HTTP communication with Dinero.
public GetAuthorizationToken ( ) : Task
return Task