Class SessionManager
java.lang.Object
com.amilesend.tmdb.client.connection.auth.SessionManager
Creates and stores a user session in-memory.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
void
Deletes the created session.Authenticates with TMDB to allow for user grant approvals to access account information.
-
Method Details
-
registerNewSession
Authenticates with TMDB to allow for user grant approvals to access account information.- Returns:
- the session identifier
- Throws:
SessionException
- if an error occurred while creating the session
-
deleteSession
Deletes the created session.- Throws:
SessionException
- if an error occurred while deleting the session
-
builder
-