-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAuthorizationType.cs
More file actions
37 lines (31 loc) · 976 Bytes
/
AuthorizationType.cs
File metadata and controls
37 lines (31 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
// Copyright (C) Leszek Pomianowski and Fluent Framework Contributors.
// All Rights Reserved.
namespace Fluent.Client;
/// <summary>
/// Specifies the type of authorization to use for an HTTP request.
/// </summary>
public enum AuthorizationType
{
/// <summary>
/// Bearer authentication (often used with OAuth 2.0 and JWT).
/// </summary>
Bearer,
/// <summary>
/// Basic authentication (username and password encoded in Base64).
/// </summary>
Basic,
/// <summary>
/// Digest authentication.
/// </summary>
Digest,
/// <summary>
/// API Key authentication (often passed in a custom header or query parameter).
/// </summary>
ApiKey,
/// <summary>
/// OAuth authentication.
/// </summary>
OAuth,
}