42 lines
1.4 KiB
Python
42 lines
1.4 KiB
Python
from Events.Engine.abstract_class import CategoryCluster
|
|
|
|
from .info import authentication_page_info
|
|
from .auth import (
|
|
AuthenticationLoginEventMethods,
|
|
AuthenticationLogoutEventMethods,
|
|
AuthenticationRefreshTokenEventMethods,
|
|
AuthenticationForgotPasswordEventMethods,
|
|
AuthenticationChangePasswordEventMethods,
|
|
AuthenticationCheckTokenEventMethods,
|
|
AuthenticationCreatePasswordEventMethods,
|
|
AuthenticationDisconnectUserEventMethods,
|
|
AuthenticationDownloadAvatarEventMethods,
|
|
AuthenticationResetPasswordEventMethods,
|
|
AuthenticationRefreshEventMethods,
|
|
AuthenticationSelectEventMethods,
|
|
)
|
|
|
|
|
|
AuthCluster = CategoryCluster(
|
|
tags=["authentication"],
|
|
prefix="/authentication",
|
|
description="Authentication cluster",
|
|
pageinfo=authentication_page_info,
|
|
endpoints=[
|
|
AuthenticationLoginEventMethods,
|
|
AuthenticationLogoutEventMethods,
|
|
AuthenticationRefreshTokenEventMethods,
|
|
AuthenticationForgotPasswordEventMethods,
|
|
AuthenticationChangePasswordEventMethods,
|
|
AuthenticationCheckTokenEventMethods,
|
|
AuthenticationCreatePasswordEventMethods,
|
|
AuthenticationDisconnectUserEventMethods,
|
|
AuthenticationDownloadAvatarEventMethods,
|
|
AuthenticationResetPasswordEventMethods,
|
|
AuthenticationRefreshEventMethods,
|
|
AuthenticationSelectEventMethods,
|
|
],
|
|
include_in_schema=True,
|
|
sub_category=[],
|
|
)
|