GitHub repository

Sygic Travel Android SDK

sdk / com.sygic.travel.sdk.session.facade / SessionFacade

SessionFacade

class SessionFacade

Session facade handles user (or anonymous) session. Session is needed for user data synchronization.

Functions

Name Summary
getSession fun getSession():Session?
register fun register(email:String, password:String, name:String):RegistrationResponseCode
resetPassword fun resetPassword(email:String):ResetPasswordResponseCode
signInWithCredentials fun signInWithCredentials(email:String, password:String):AuthenticationResponseCode
signInWithDeviceId fun signInWithDeviceId():AuthenticationResponseCode
signInWithFacebookAccessToken fun signInWithFacebookAccessToken(accessToken:String):AuthenticationResponseCode
signInWithGoogleIdToken fun signInWithGoogleIdToken(idToken:String):AuthenticationResponseCode
signInWithJwtToken fun signInWithJwtToken(jwtToken:String):AuthenticationResponseCode
signOut fun signOut():Unit