client property

AuthClient client

Get an authenticated client for making requests to googleapis. The client automatically refreshes if necessary. You must have set googleClientId before calling this.

Implementation

gauth.AuthClient get client => _client ??= gauth.autoRefreshingClient(
      gauth.ClientId(
        _clientId.identifier,
        _clientId.secret,
      ),
      _accessCredentials,
      createBaseClient(),
    );