Class MoodleTokens
java.lang.Object
org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
org.jdrupes.keycloak.moodleauth.moodle.model.MoodleTokens
Models the result of a Moodle token request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the privatetoken.getToken()
Gets the token.void
setPrivatetoken
(String privatetoken) void
Methods inherited from class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
getError, getErrorcode, getException, getMessage, setError, setErrorcode, setException, setMessage
-
Constructor Details
-
MoodleTokens
public MoodleTokens()
-
-
Method Details
-
getToken
Gets the token.- Returns:
- the token
-
setToken
- Parameters:
token
- the token to set
-
setPrivatetoken
- Parameters:
privatetoken
- the privatetoken to set
-
getPrivatetoken
Gets the privatetoken.- Returns:
- the privatetoken
-