Authentication.withToken constructor

Authentication.withToken(
  1. String? token
)

Creates an Authentication instance that uses the specified OAuth2 token.

Implementation

Authentication.withToken(this.token)
    : username = null,
      password = null;