elsa-core/src/clients/Elsa.Api.Client/Options/ElsaClientOptions.cs
Sipke Schoorstra 30c4e5b1e7
Implement API key authentication (#3834)
* Implement API key storage

* Implement API key validation

* Implement EF Core providers
2023-03-26 23:53:17 +02:00

17 lines
466 B
C#

namespace Elsa.Api.Client.Options;
/// <summary>
/// Represents options for the Elsa client.
/// </summary>
public class ElsaClientOptions
{
/// <summary>
/// Gets or sets the base address of the Elsa server.
/// </summary>
public Uri BaseAddress { get; set; } = default!;
/// <summary>
/// Gets or sets the API key to use when authenticating with the Elsa server.
/// </summary>
public string ApiKey { get; set; } = default!;
}