IAuthorization constructor

IAuthorization({
  1. required String userName,
  2. required String password,
  3. String headerKey = 'Authorization',
  4. WordpressEvents? events,
})

Creates a new instance of IAuthorization with the given username and password.

Implementation

IAuthorization({
  required this.userName,
  required this.password,
  this.headerKey = 'Authorization',
  this.events,
});