@@ -20,6 +20,33 @@ public class NordigenClient : INordigenClient
20
20
internal readonly NordigenClientCredentials Credentials ;
21
21
private JsonWebTokenPair ? _jsonWebTokenPair ;
22
22
23
+ /// <inheritdoc />
24
+ public JsonWebTokenPair ? JsonWebTokenPair
25
+ {
26
+ get => _jsonWebTokenPair ;
27
+ set
28
+ {
29
+ _jsonWebTokenPair = value ;
30
+ if ( value is not null )
31
+ TokenPairUpdated ? . Invoke ( this , new TokenPairUpdatedEventArgs ( value ) ) ;
32
+ }
33
+ }
34
+
35
+ /// <inheritdoc />
36
+ public ITokenEndpoint TokenEndpoint { get ; }
37
+
38
+ /// <inheritdoc />
39
+ public IInstitutionsEndpoint InstitutionsEndpoint { get ; }
40
+
41
+ /// <inheritdoc />
42
+ public IAgreementsEndpoint AgreementsEndpoint { get ; }
43
+
44
+ /// <inheritdoc />
45
+ public IRequisitionsEndpoint RequisitionsEndpoint { get ; }
46
+
47
+ /// <inheritdoc />
48
+ public IAccountsEndpoint AccountsEndpoint { get ; }
49
+
23
50
/// <summary>
24
51
/// Creates a new instance of <see cref="NordigenClient" />.
25
52
/// </summary>
@@ -49,33 +76,6 @@ public NordigenClient(HttpClient httpClient, NordigenClientCredentials credentia
49
76
AccountsEndpoint = new AccountsEndpoint ( this ) ;
50
77
}
51
78
52
- /// <inheritdoc />
53
- public JsonWebTokenPair ? JsonWebTokenPair
54
- {
55
- get => _jsonWebTokenPair ;
56
- set
57
- {
58
- _jsonWebTokenPair = value ;
59
- if ( value is not null )
60
- TokenPairUpdated ? . Invoke ( this , new TokenPairUpdatedEventArgs ( value ) ) ;
61
- }
62
- }
63
-
64
- /// <inheritdoc />
65
- public ITokenEndpoint TokenEndpoint { get ; }
66
-
67
- /// <inheritdoc />
68
- public IInstitutionsEndpoint InstitutionsEndpoint { get ; }
69
-
70
- /// <inheritdoc />
71
- public IAgreementsEndpoint AgreementsEndpoint { get ; }
72
-
73
- /// <inheritdoc />
74
- public IRequisitionsEndpoint RequisitionsEndpoint { get ; }
75
-
76
- /// <inheritdoc />
77
- public IAccountsEndpoint AccountsEndpoint { get ; }
78
-
79
79
/// <inheritdoc />
80
80
public event EventHandler < TokenPairUpdatedEventArgs > ? TokenPairUpdated ;
81
81
0 commit comments