Documentation ¶
Index ¶
- func AuthorizeUser(username string, password string) (bool, error)
- func ConvertNameInverse(name string) string
- func ExamsSchedule() (*types.Schedule, error)
- func ExamsScheduleRoom(room string) (*types.Schedule, error, string)
- func GetRooms() []string
- func Initialize(examsLink string)
- func Schedule() (*types.Schedule, error)
- func ScheduleRoom(room string) (*types.Schedule, error, string)
- type LdapConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertNameInverse ¶
func ExamsSchedule ¶
ExamsSchedule Method that returns current exams schedule if that exists
func ExamsScheduleRoom ¶
ExamsScheduleRoom Method that returns current exams schedule if that exists and the room that corresponds to it
func Initialize ¶
func Initialize(examsLink string)
Initialize Method that initializes crucial functions for the plugin
Types ¶
type LdapConfiguration ¶
type LdapConfiguration struct { Address string `yaml:"address"` Port int `yaml:"port"` UseTLS bool `yaml:"use_tls"` BaseDN string `yaml:"base_dn"` BindUsername string `yaml:"bind_username"` BindPassword string `yaml:"bind_password"` SearchClass string `yaml:"search_class"` UsernameAttribute string `yaml:"username_attribute"` }
LdapConfiguration struct that contains all the info needed in order to establish connection with AUEB LDAP server
Click to show internal directories.
Click to hide internal directories.