mirror of
https://git.stillkill.net/Stillkill/GiteaPublish.git
synced 2026-10-22 13:32:19 +01:00
Workflow test
This commit is contained in:
1 parent
518159ea7f
commit
ef25216552
17 files changed
+876
-25
No files matched your search
@@ -4,12 +4,16 @@ public class BasicAuthModel
|
||||
{
|
||||
public string AuthHeader => Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes($"{_username}:{_password}"));
|
||||
|
||||
private readonly string _username;
|
||||
private readonly string _password;
|
||||
private readonly string _username = string.Empty;
|
||||
private readonly string _password = string.Empty;
|
||||
|
||||
public BasicAuthModel(string username, string password)
|
||||
{
|
||||
_username = username;
|
||||
_password = password;
|
||||
}
|
||||
|
||||
public BasicAuthModel()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user