Class MoodleServiceProvider
java.lang.Object
org.jdrupes.keycloak.moodleauth.moodle.MoodleServiceProvider
- All Implemented Interfaces:
MoodleService
Represents an open connection to a moodle instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAttempts to establish a connection to the server.
-
Constructor Details
-
MoodleServiceProvider
public MoodleServiceProvider()
-
-
Method Details
-
connect
public MoodleClient connect(String website, String username, Password password) throws IOException, MoodleAuthFailedException Description copied from interface:MoodleServiceAttempts to establish a connection to the server.- Specified by:
connectin interfaceMoodleService- Parameters:
website- the websiteusername- the usernamepassword- the password- Returns:
- true, if successful
- Throws:
IOException- Signals that an I/O exception has occurred.MoodleAuthFailedException
-