feat(http): add oauth2 refresh token client

This commit is contained in:
2022-05-23 20:37:26 +02:00
parent 8892337b93
commit de00c532c8
9 changed files with 324 additions and 70 deletions
@@ -14,18 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
enum AuthenticationMethods {
basic('Basic'),
bearer('Bearer'),
digest('Digest'),
apiKey('ApiKey');
final String name;
@override
String toString() {
return name;
}
const AuthenticationMethods(this.name);
abstract class AuthenticationMethods {
static const String basic = 'Basic';
static const String bearer = 'Bearer';
static const String digest = 'Digest';
}