Skip to content

Commit

Permalink
Slight adjustment to code formatting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTTY committed Aug 24, 2024
1 parent feba57e commit 675945d
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions src/RobinTTY.NordigenApiClient/NordigenClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,33 @@ public class NordigenClient : INordigenClient
internal readonly NordigenClientCredentials Credentials;
private JsonWebTokenPair? _jsonWebTokenPair;

/// <inheritdoc />
public JsonWebTokenPair? JsonWebTokenPair
{
get => _jsonWebTokenPair;
set
{
_jsonWebTokenPair = value;
if (value is not null)
TokenPairUpdated?.Invoke(this, new TokenPairUpdatedEventArgs(value));
}
}

/// <inheritdoc />
public ITokenEndpoint TokenEndpoint { get; }

/// <inheritdoc />
public IInstitutionsEndpoint InstitutionsEndpoint { get; }

/// <inheritdoc />
public IAgreementsEndpoint AgreementsEndpoint { get; }

/// <inheritdoc />
public IRequisitionsEndpoint RequisitionsEndpoint { get; }

/// <inheritdoc />
public IAccountsEndpoint AccountsEndpoint { get; }

/// <summary>
/// Creates a new instance of <see cref="NordigenClient" />.
/// </summary>
Expand Down Expand Up @@ -49,33 +76,6 @@ public NordigenClient(HttpClient httpClient, NordigenClientCredentials credentia
AccountsEndpoint = new AccountsEndpoint(this);
}

/// <inheritdoc />
public JsonWebTokenPair? JsonWebTokenPair
{
get => _jsonWebTokenPair;
set
{
_jsonWebTokenPair = value;
if (value is not null)
TokenPairUpdated?.Invoke(this, new TokenPairUpdatedEventArgs(value));
}
}

/// <inheritdoc />
public ITokenEndpoint TokenEndpoint { get; }

/// <inheritdoc />
public IInstitutionsEndpoint InstitutionsEndpoint { get; }

/// <inheritdoc />
public IAgreementsEndpoint AgreementsEndpoint { get; }

/// <inheritdoc />
public IRequisitionsEndpoint RequisitionsEndpoint { get; }

/// <inheritdoc />
public IAccountsEndpoint AccountsEndpoint { get; }

/// <inheritdoc />
public event EventHandler<TokenPairUpdatedEventArgs>? TokenPairUpdated;

Expand Down

0 comments on commit 675945d

Please sign in to comment.