IAuthorization constructor
IAuthorization({
- required String userName,
- required String password,
- String headerKey = 'Authorization',
- 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,
});