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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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');
}
}