withToken static method

AuthenticationMode withToken(
  1. String accessToken
)

SDK will pass access token as a Bearer.

  • accessToken Access token

Returns AuthenticationMode. Instance of AuthenticationMode configured to use token

Implementation

static AuthenticationMode withToken(String accessToken) => $prototype.withToken(accessToken);