OauthAuthentication constructor

const OauthAuthentication(
  1. String userName,
  2. OauthToken token
)

Creates a new authentication

Implementation

const OauthAuthentication(String userName, this.token)
    : super(userName, Authentication.oauth2);