You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
416 B
C#
23 lines
416 B
C#
namespace JumpKick.HttpLib.Provider
|
|
{
|
|
using System;
|
|
using System.Text;
|
|
|
|
public class TextAuthenticationProvider : AuthenticationProvider
|
|
{
|
|
private string text;
|
|
|
|
|
|
public TextAuthenticationProvider(string text)
|
|
{
|
|
this.text = text;
|
|
}
|
|
|
|
public Header GetAuthHeader()
|
|
{
|
|
return new Header("Authorization", text);
|
|
}
|
|
|
|
}
|
|
}
|