C# Класс Universe.Modules.Web.Authenticator

Показать файл Открыть проект

Открытые методы

Метод Описание
AddAdminAuthentication ( UUID sessionID, UserAccount account ) : void
AddAuthentication ( UUID sessionID, UserAccount account ) : void
ChangeAuthentication ( OSHttpRequest request, UserAccount account ) : void
CheckAdminAuthentication ( OSHttpRequest request ) : bool
CheckAdminAuthentication ( OSHttpRequest request, int adminLevelRequired ) : bool
CheckAuthentication ( OSHttpRequest request ) : bool
GetAuthentication ( OSHttpRequest request ) : UserAccount
GetAuthenticationSession ( OSHttpRequest request ) : UUID
RemoveAuthentication ( OSHttpRequest request ) : void

Описание методов

AddAdminAuthentication() публичный статический Метод

public static AddAdminAuthentication ( UUID sessionID, UserAccount account ) : void
sessionID UUID
account Universe.Framework.Services.UserAccount
Результат void

AddAuthentication() публичный статический Метод

public static AddAuthentication ( UUID sessionID, UserAccount account ) : void
sessionID UUID
account Universe.Framework.Services.UserAccount
Результат void

ChangeAuthentication() публичный статический Метод

public static ChangeAuthentication ( OSHttpRequest request, UserAccount account ) : void
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
account Universe.Framework.Services.UserAccount
Результат void

CheckAdminAuthentication() публичный статический Метод

public static CheckAdminAuthentication ( OSHttpRequest request ) : bool
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
Результат bool

CheckAdminAuthentication() публичный статический Метод

public static CheckAdminAuthentication ( OSHttpRequest request, int adminLevelRequired ) : bool
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
adminLevelRequired int
Результат bool

CheckAuthentication() публичный статический Метод

public static CheckAuthentication ( OSHttpRequest request ) : bool
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
Результат bool

GetAuthentication() публичный статический Метод

public static GetAuthentication ( OSHttpRequest request ) : UserAccount
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
Результат Universe.Framework.Services.UserAccount

GetAuthenticationSession() публичный статический Метод

public static GetAuthenticationSession ( OSHttpRequest request ) : UUID
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
Результат UUID

RemoveAuthentication() публичный статический Метод

public static RemoveAuthentication ( OSHttpRequest request ) : void
request Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
Результат void