Interface BaseSession
- All Known Implementing Classes:
SyncopeConsoleSession,SyncopeEnduserSession
public interface BaseSession
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String jwt, Instant jwtExpiration) voidvoiderror(Serializable message) <T> Future<T> <T> TgetAnonymousService(Class<T> serviceClass) getJWT()default PlatformInfo<T> TgetService(Class<T> serviceClass) <T> TgetService(String etag, Class<T> serviceClass) voidExtract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable).<T> voidresetClient(Class<T> serviceClass) setAttribute(String name, Serializable value) void
-
Method Details
-
setAttribute
-
error
-
setDomain
-
getDomain
String getDomain() -
getJWT
String getJWT() -
authenticate
-
getAnonymousClient
SyncopeAnonymousClient getAnonymousClient() -
getPlatformInfo
-
getAnonymousService
-
getService
-
getService
-
resetClient
-
getDateFormat
DateOps.Format getDateFormat() -
onException
Extract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable).- Parameters:
e- raised exception- See Also:
-
execute
-
getSupportedLocales
-
generateMfa
Mfa generateMfa() -
enrollMfa
-