43 lines
1.9 KiB
Python
43 lines
1.9 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(
|
|
name="AuthCluster",
|
|
tags=["authentication"],
|
|
prefix="/authentication",
|
|
description="Authentication cluster",
|
|
pageinfo=authentication_page_info,
|
|
endpoints={
|
|
"AuthenticationLoginEventMethods": AuthenticationLoginEventMethods,
|
|
"AuthenticationLogoutEventMethods": AuthenticationLogoutEventMethods,
|
|
"AuthenticationRefreshTokenEventMethods": AuthenticationRefreshTokenEventMethods,
|
|
"AuthenticationForgotPasswordEventMethods": AuthenticationForgotPasswordEventMethods,
|
|
"AuthenticationChangePasswordEventMethods": AuthenticationChangePasswordEventMethods,
|
|
"AuthenticationCheckTokenEventMethods": AuthenticationCheckTokenEventMethods,
|
|
"AuthenticationCreatePasswordEventMethods": AuthenticationCreatePasswordEventMethods,
|
|
"AuthenticationDisconnectUserEventMethods": AuthenticationDisconnectUserEventMethods,
|
|
"AuthenticationDownloadAvatarEventMethods": AuthenticationDownloadAvatarEventMethods,
|
|
"AuthenticationResetPasswordEventMethods": AuthenticationResetPasswordEventMethods,
|
|
"AuthenticationRefreshEventMethods": AuthenticationRefreshEventMethods,
|
|
"AuthenticationSelectEventMethods": AuthenticationSelectEventMethods,
|
|
},
|
|
include_in_schema=True,
|
|
sub_category=[],
|
|
)
|