PlainAuthentication constructor

const PlainAuthentication(
  1. String userName,
  2. String password
)

Creates a new plain authentication with the given userName and password.

Implementation

const PlainAuthentication(String userName, this.password)
    : super(userName, Authentication.plain);