copyWithUserName method

  1. @override
UserNameBasedAuthentication copyWithUserName(
  1. String userName
)
override

Copies this authentication with the new userName

Implementation

@override
UserNameBasedAuthentication copyWithUserName(String userName) =>
    OauthAuthentication(userName, token);