AuthConfig constructor
const
AuthConfig({
- required TokenSource source,
- String headerName = authorizationHeader,
- String prefix = bearerPrefix,
- bool overrideExisting = false,
Builds a config that injects authorization: Bearer <token> from
source.
Implementation
const AuthConfig({
required this.source,
this.headerName = authorizationHeader,
this.prefix = bearerPrefix,
this.overrideExisting = false,
});