View Source Auth0.Management.Stats (Auth0Api v2.5.0)

Facade for the Auth0 Management API Stats endpoints.

Most applications should call Auth0.Api.Management instead of this module.

Summary

Functions

Retrieve the number of active users that logged in during the last 30 days.

Retrieve the number of logins, signups and breached-password detections (subscription required) that occurred each day within a specified date range.

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}

Functions

Link to this function

count_active_users(config)

View Source
@spec count_active_users(config()) :: {:ok, String.t()} | error()

Retrieve the number of active users that logged in during the last 30 days.

see

https://auth0.com/docs/api/management/v2/stats/get-active-users

Link to this function

list_daily(params \\ %{}, config)

View Source
@spec list_daily(map(), config()) :: {:ok, [map()]} | error()

Retrieve the number of logins, signups and breached-password detections (subscription required) that occurred each day within a specified date range.

see

https://auth0.com/docs/api/management/v2/stats/get-daily