authorization property
Authorization
get
authorization
currently it just support the Basic Authentication
You can develop the Authorization
class.
Implementation
Authorization get authorization {
var authString = headers.value(HttpHeaders.authorizationHeader) ?? '';
return Authorization.parse(authString);
}