Encapsulates an authentication information.
Authentication type.
Encodes the authentication information as String.
Returns the username associated with this authentication information.
Indicates whether or not the authentication information is valid.