| 1 | package WebService::Auth0::Management::Stats; | ||
| 2 | |||
| 3 | use Moo; | ||
| 4 | extends 'WebService::Auth0::Management::Base'; | ||
| 5 | |||
| 6 | sub path_suffix { 'stats' } | ||
| 7 | |||
| 8 | sub daily { | ||
| 9 | my ($self, $query) = @_; | ||
| 10 | return $self->GET($self->uri_for('daily', $query)); | ||
| 11 | } | ||
| 12 | |||
| 13 | sub active_users { | ||
| 14 | my ($self) = @_; | ||
| 15 | return $self->GET($self->uri_for('active-users')); | ||
| 16 | } | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | WebService::Auth0::Management::Stats - Users management API | ||
| 21 | |||
| 22 | =head1 SYNOPSIS | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | =head1 METHODS | ||
| 27 | |||
| 28 | This class defines the following methods: | ||
| 29 | |||
| 30 | =head2 daily (\%query) | ||
| 31 | |||
| 32 | L<https://auth0.com/docs/api/management/v2#!/Stats/get_daily> | ||
| 33 | |||
| 34 | =head2 active_users | ||
| 35 | |||
| 36 | L<https://auth0.com/docs/api/management/v2#!/Stats/get_active_users> | ||
| 37 | |||
| 38 | =head1 SEE ALSO | ||
| 39 | |||
| 40 | L<WebService::Auth0>, L<https://auth0.com>. | ||
| 41 | |||
| 42 | =head1 AUTHOR | ||
| 43 | |||
| 44 | See L<WebService::Auth0> | ||
| 45 | |||
| 46 | =head1 COPYRIGHT & LICENSE | ||
| 47 | |||
| 48 | See L<WebService::Auth0> | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | 1; |