Fix Redundance Reference
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Integrations.SCB.OAuth;
|
||||
|
||||
public class OAuthRequest
|
||||
public sealed class OAuthRequest
|
||||
{
|
||||
|
||||
public OAuthRequest(string applicationKey, string applicationSecret)
|
||||
{
|
||||
ApplicationKey = applicationKey;
|
||||
ApplicationSecret = applicationSecret;
|
||||
}
|
||||
|
||||
public string ApplicationKey { get; }
|
||||
public string ApplicationSecret { get; }
|
||||
}
|
||||
@@ -1,6 +1,15 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Integrations.SCB.Common;
|
||||
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Integrations.SCB.OAuth;
|
||||
|
||||
public class OAuthResponse
|
||||
public sealed class OAuthResponse
|
||||
{
|
||||
|
||||
public SCBStatus? Status { get; set; }
|
||||
public OAuthData? Data { get; set; }
|
||||
}
|
||||
|
||||
public sealed class OAuthData
|
||||
{
|
||||
public string? AccessToken { get; set; }
|
||||
public int? ExpiresIn { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user