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,17 +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 HeaderKeys {
authorization('Authorization'),
wwwAuthenticate('WWW-Authenticate'),
contentType('Content-Type');
final String name;
@override
String toString() {
return name;
}
const HeaderKeys(this.name);
abstract class HeaderKeys {
static const String authorization = 'Authorization';
static const String wwwAuthenticate = 'WWW-Authenticate';
static const String contentType = 'Content-Type';
}