diff --git a/src/RobinTTY.NordigenApiClient/NordigenClient.cs b/src/RobinTTY.NordigenApiClient/NordigenClient.cs
index 53db10b..37f9853 100644
--- a/src/RobinTTY.NordigenApiClient/NordigenClient.cs
+++ b/src/RobinTTY.NordigenApiClient/NordigenClient.cs
@@ -20,6 +20,33 @@ public class NordigenClient : INordigenClient
internal readonly NordigenClientCredentials Credentials;
private JsonWebTokenPair? _jsonWebTokenPair;
+ ///
+ public JsonWebTokenPair? JsonWebTokenPair
+ {
+ get => _jsonWebTokenPair;
+ set
+ {
+ _jsonWebTokenPair = value;
+ if (value is not null)
+ TokenPairUpdated?.Invoke(this, new TokenPairUpdatedEventArgs(value));
+ }
+ }
+
+ ///
+ public ITokenEndpoint TokenEndpoint { get; }
+
+ ///
+ public IInstitutionsEndpoint InstitutionsEndpoint { get; }
+
+ ///
+ public IAgreementsEndpoint AgreementsEndpoint { get; }
+
+ ///
+ public IRequisitionsEndpoint RequisitionsEndpoint { get; }
+
+ ///
+ public IAccountsEndpoint AccountsEndpoint { get; }
+
///
/// Creates a new instance of .
///
@@ -49,33 +76,6 @@ public NordigenClient(HttpClient httpClient, NordigenClientCredentials credentia
AccountsEndpoint = new AccountsEndpoint(this);
}
- ///
- public JsonWebTokenPair? JsonWebTokenPair
- {
- get => _jsonWebTokenPair;
- set
- {
- _jsonWebTokenPair = value;
- if (value is not null)
- TokenPairUpdated?.Invoke(this, new TokenPairUpdatedEventArgs(value));
- }
- }
-
- ///
- public ITokenEndpoint TokenEndpoint { get; }
-
- ///
- public IInstitutionsEndpoint InstitutionsEndpoint { get; }
-
- ///
- public IAgreementsEndpoint AgreementsEndpoint { get; }
-
- ///
- public IRequisitionsEndpoint RequisitionsEndpoint { get; }
-
- ///
- public IAccountsEndpoint AccountsEndpoint { get; }
-
///
public event EventHandler? TokenPairUpdated;