Added Cookie Authentication (#360)

* Added Cookie Authentication

* Fixed issue with bearer is in lower case

* Fixed bearer to Bearer to conform with standard
This commit is contained in:
Alex
2022-07-18 14:14:25 -05:00
committed by GitHub
parent c028c7db4e
commit be3e3e5d7e
11 changed files with 116 additions and 12 deletions

View File

@@ -25,6 +25,6 @@ class ApiService {
}
setAccessToken(String accessToken) {
_apiClient.addDefaultHeader('Authorization', 'bearer $accessToken');
_apiClient.addDefaultHeader('Authorization', 'Bearer $accessToken');
}
}