EdxClient class
Methods
-
appleSSO(String clientId, String redirectUri)
→ Future<Map<String, dynamic>>
-
-
changeEmail(String username, String email, String csrfToken, String token)
→ Future<Map<String, dynamic>?>
-
-
checkTokenExpiry(Response response)
→ Future<void>
-
-
edxSSOLogin(String token, String backend, Map body)
→ Future<Map<String, dynamic>>
-
-
edxSSORegister(String edxBaseUrl, Map body)
→ Future<Map<String, dynamic>>
-
-
edxSSORegisterDefault(String edxBaseUrl, Map body)
→ Future<Map<String, dynamic>>
-
-
getAccessToken(String code, String ssoClientId, String grantType, String tokenType)
→ Future<Map<String, dynamic>>
-
-
getCSRFToken()
→ Future<Map<String, dynamic>?>
-
-
getDMToken(String tenant_key, String token)
→ Future<Map<String, dynamic>?>
-
-
getGoogleAccountInfo(String token)
→ Future<Map<String, dynamic>>
-
-
getPlatform(String token)
→ Future
-
-
getRefreshToken(String clientId, String grantType, String tokenType, String refreshToken)
→ Future<Map<String, dynamic>>
-
-
getSessionId(String token)
→ Future
-
-
googleSSO(String clientId, List<String> scopes)
→ Future<Map<String, dynamic>>
-
-
login(String username, String password, String clientId, String grant_type, String tokenType, String asymmetricJwt)
→ Future<Map<String, dynamic>?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
register(String username, String email, String name, String password)
→ Future<Map<String, dynamic>?>
-
-
resetPassword(String email, String csrfToken, String referer)
→ Future<Map<String, dynamic>?>
-
-
tokenDecoderApple(String? jwttoken)
→ Future<Map<String, dynamic>?>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
validateEmail(String email)
→ Future<Map<String, dynamic>?>
-