basicCredentials method

Future<BasicCredentials> basicCredentials({
  1. String realm = 'restricted',
})

The decoded username and password of an Authorization: Basic header.

Implementation

Future<BasicCredentials> basicCredentials({String realm = 'restricted'}) =>
    extractors.basicCredentials(realm: realm).require(this);