username abstract method Null safety

Authentication username(
  1. String username
)

Specifies the username that must be used to authenticate.

IMPORTANT
Providing the username is required.

Params:

  • username: the username.

Returns: an Authentication object.

Implementation

Authentication username(String username);