Interface IStatsClient
- Namespace
- Auth0.Management
Api .Clients
- Assembly
- Auth0.ManagementApi.dll
Methods
GetActiveUsersAsync(CancellationToken)
Gets the active users count (logged in during the last 30 days).
Parameters
cancellationToken
CancellationToken The cancellation token to cancel operation.
Returns
GetDailyStatsAsync(DateTime, DateTime, CancellationToken)
Gets the daily stats for a particular period.
Task<IList<DailyStatistics>> GetDailyStatsAsync(DateTime from, DateTime to, CancellationToken cancellationToken = default)
Parameters
from
DateTime The first day of the period (inclusive).
to
DateTime The last day of the period (inclusive).
cancellationToken
CancellationToken The cancellation token to cancel operation.
Returns
- Task<IList<Daily
Statistics >> A list of Daily
Statistics containing the statistics for each day in the period.