MmHttpBearerAuthentication constructor

MmHttpBearerAuthentication([
  1. dynamic accessToken
])

Constucts HttpBearerAuthentication from an optional accessToken which will be included in request headers using the Authorization: Bearer [token] method.

Implementation

MmHttpBearerAuthentication([dynamic accessToken]) {
  this.accessToken = accessToken;
}