IOnionSessionHost
Represents a part of the entity of an onion.net session.
This interface provides methods for checking users and creating new sessions based on the current session.
Methods
Method | Description |
---|---|
AuthenticateCredentials(String, String):IUser | Checks whether the indicated access data is correct. |
AuthenticateCredentials(String, String, UserRoles):IUser | Checks whether the indicated access data is correct and the user has the indicated user roles. |
CreateSubSession(String, String):IOnionSession | Creates a new session with the indicated access data |
CreateSubSession(String, String, UserRoles):IOnionSession | Creates a new session with the indicated access data. |