auth property

The Nhost authentication service.

https://docs.nhost.io/platform/authentication

Implementation

@override
NhostAuthClient get auth => _auth ??= NhostAuthClient(
      url: subdomain != null
          ? createNhostServiceEndpoint(
              subdomain: subdomain!.subdomain,
              region: subdomain!.region,
              service: 'auth',
            )
          : serviceUrls!.authUrl,
      authStore: _authStore,
      tokenRefreshInterval: _refreshInterval,
      session: _session,
      httpClient: httpClient,
    );