getAccessToken abstract method

Future<GetTokenResult> getAccessToken({
  1. required bool forceRefresh,
})

Fetch a valid STS Token.

forceRefresh force refreshes the token. Should only be set to true if the token is invalidated out of band.

Implementation

Future<GetTokenResult> getAccessToken({required bool forceRefresh});