Add EndpointAuthType enum for endpoint authentication types
Introduced the EndpointAuthType enum in the ReC.Domain.Constants namespace to represent various endpoint authentication methods, including NoAuth, ApiKey, BearerToken, JwtBearer, BasicAuth, DigestAuth, OAuth1, OAuth2, AwsSignature, and NtlmAuth. Each type is assigned a unique integer value for clear identification.
This commit is contained in:
15
src/ReC.Domain/Constants/EndpointAuthType.cs
Normal file
15
src/ReC.Domain/Constants/EndpointAuthType.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace ReC.Domain.Constants;
|
||||
|
||||
public enum EndpointAuthType
|
||||
{
|
||||
NoAuth = 0,
|
||||
ApiKey = 1,
|
||||
BearerToken = 2,
|
||||
JwtBearer = 3,
|
||||
BasicAuth = 4,
|
||||
DigestAuth = 5,
|
||||
OAuth1 = 6,
|
||||
OAuth2 = 7,
|
||||
AwsSignature = 8,
|
||||
NtlmAuth = 9
|
||||
}
|
||||
Reference in New Issue
Block a user